Difference between revisions of "Main UserGuideAddendum"

From OpenFOAMWiki
(Chapter 6: Mesh generation and conversion)
(Chapter 6: Mesh generation and conversion)
Line 34: Line 34:
 
* new regular expression matching for dictionary entries (in an upcoming version)
 
* new regular expression matching for dictionary entries (in an upcoming version)
  
== Chapter 6: Mesh generation and conversion ==
+
'''Chapter 6: Mesh generation and conversion '''
  
=== Section 6.2.2 Base types (currently 5.2.2, as the FoamX chapter is gone)
+
'''Section 6.2.2 Base types''' (currently 5.2.2, as the FoamX chapter is gone)
 
The cyclic boundary condition can be specified to be rotational or translational explicitly by editing the boundary file. By adding the following lines (instead of the standard featureCos 0.9;) for translational:
 
The cyclic boundary condition can be specified to be rotational or translational explicitly by editing the boundary file. By adding the following lines (instead of the standard featureCos 0.9;) for translational:
  
transform        translational;
+
        transform        translational;
separationVector (Tx Ty Tz);
+
        separationVector (Tx Ty Tz);
  
 
Where the separationVector is the vector between the two parts of the patch. If rotational patch is preferred, it can be specified by:
 
Where the separationVector is the vector between the two parts of the patch. If rotational patch is preferred, it can be specified by:
  
 
         transform      rotational;
 
         transform      rotational;
rotationAxis    (rAx rAy rAz);
+
        rotationAxis    (rAx rAy rAz);
rotationCentre  (rCx rCy rCz);
+
        rotationCentre  (rCx rCy rCz);
  
 
Where the rotational axis and the rotational centre can be specified by the two vectors above. To see how the cyclic patch is coupled, use the debug flag in OpenFOAM-1.x/etc/controlDict. This gives you obj files of the patches and lines connecting each face. These can be visualized in paraview by conversion using objToVTK.
 
Where the rotational axis and the rotational centre can be specified by the two vectors above. To see how the cyclic patch is coupled, use the debug flag in OpenFOAM-1.x/etc/controlDict. This gives you obj files of the patches and lines connecting each face. These can be visualized in paraview by conversion using objToVTK.

Revision as of 11:38, 4 September 2009

Annotations concerning the OpenFOAM User Guide


Notes to contributors: Please include the chapter number of the printed version to avoid confusion (the Wiki might give different chapter numbers)

1 Chapter 1: Introduction

2 Chapter 2: Tutorials

3 Chapter 3: Applications and libraries

4 Chapter 4: OpenFOAM cases

4.1 Chapter 4.2: Basic input/output file format

4.2 Chapter 4.4: Numerical schemes

Contrary to what is stated in table 4.11 (Discretisation schemes available in ddtSchemes) CRNK is not bounded, see also P-42

5 Chapter 5: The FoamX case manager

FoamX is obsolete as of version 1.5.

Getting FoamX compiled (and running) with the correct java version and CORBA interface was reportedly getting more and more difficult ... and end-users always seemed to encounter numerous problems getting it working with their particular java and network environment.

Besides which, using FoamX to edit dictionaries is comparable to performing keyhole surgery.

By dropping FoamX (and avoiding the additional work of creating a java-compatible interface for each feature), the developers could introduce very interesting and useful dictionary functionality fairly quickly:

  • improved #include directive
  • new #inputMode directive
  • new $entry sub-dictionary expansions (try them - they are really cool)
  • new regular expression matching for dictionary entries (in an upcoming version)

Chapter 6: Mesh generation and conversion

Section 6.2.2 Base types (currently 5.2.2, as the FoamX chapter is gone) The cyclic boundary condition can be specified to be rotational or translational explicitly by editing the boundary file. By adding the following lines (instead of the standard featureCos 0.9;) for translational:

       transform        translational;
       separationVector (Tx Ty Tz);

Where the separationVector is the vector between the two parts of the patch. If rotational patch is preferred, it can be specified by:

       transform       rotational;
       rotationAxis    (rAx rAy rAz);
       rotationCentre  (rCx rCy rCz);

Where the rotational axis and the rotational centre can be specified by the two vectors above. To see how the cyclic patch is coupled, use the debug flag in OpenFOAM-1.x/etc/controlDict. This gives you obj files of the patches and lines connecting each face. These can be visualized in paraview by conversion using objToVTK.

5.1 Section 6.3: Mesh generation with the blockMesh utility

5.1.1 6.3.1.3: The blocks

OF version 13.png: Starting with OpenFOAM 1.3 blocks can be now assigned to cellZones (The syntax is similar to the now obsolete blockMeshWithSets-utility).

5.2 Section 6.4: Mesh conversion

5.2.1 6.4.2: starToFoam

In section 6.4.2.6 there is a reference to the foamCorrectVrt-utility which can not be found in any of the 1.0.2, 1.1 and 1.2 distributions. Looking at the source I would say that this problem is already fixed by the current versions of starToFoam (but I can't test this theory because I have no StarCD).

6 Chapter 7: Post-processing

7 Chapter 8: Models and physical properties

8 Appendix A: Reference information