This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/utilities/mesh/conversion/fluentMeshToFoam
Bernhard F.W. Gschaider a72b12ce8f This solves a compilation problem in Clang 3.5 where the class Time is
not completely instantiated in objectRegistry (see error message
below)

By including objectRegistry.H before Time.H the class Tiem gets
completely defined before objectRegistry.

The original Time.H could be omitted (as it is already included in
objectRegistry.H )

In file included from blockMeshApp.C:49:
In file included from /Users/bgschaid/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/Time.H:42:
In file included from /Users/bgschaid/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/objectRegistry.H:235:
/Users/bgschaid/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/objectRegistryTemplates.C:94:25: error: 'const Foam::Time' is an incomplete type
        if (&parent_ != dynamic_cast<const objectRegistry*>(&time_))
                        ^                                   ~~~~~~
/Users/bgschaid/OpenFOAM/foam-extend-3.1/src/foam/lnInclude/IOobject.H:78:7: note: forward declaration of 'Foam::Time'
class Time;
      ^
In file included from blockMeshApp.C:49:
2014-06-02 18:05:03 +02:00
..
Make Moving to the new directory structure for dynamicMesh 2010-10-12 16:47:10 -04:00
cellShapeRecognition.H Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
create3DCellShape.C Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
extrudedQuadCellShape.C Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
extrudedTriangleCellShape.C Renamed and cleaned foam-extend 2013-12-11 16:09:41 +00:00
fluentMeshToFoam.L This solves a compilation problem in Clang 3.5 where the class Time is 2014-06-02 18:05:03 +02:00
README.txt Remove trailing whitespace systematically 2013-07-18 10:15:54 +02:00

Notes for fluentMeshToFoam with zone preservation
#################################################

1. New option added:
    - writeSets:
    Writes all Fluent boundaries faceSets preserving Fluent names
    Writes all Fluent regions to cellSets preserving Fluent names
    lines: 1375 - 1393 & 1673 - 1741
    sets are useful for post-processing using foamToVTK with the "-faceSet
    <name>" and "-cellSet <name>" options.

    - writeZones:
    Writes all regions to cellZones preserving Fluent names
    Writes all region internal face to faceZones preserving Fluent names
    lines: 1545 - 1667
    Zones are usefull for porous media and MRF calculations

2. Zone Access
    - Zones are simple lists of label lists that can be accessed from polyMesh
    with the cellZones(), faceZones() and pointZones() member functions

    - Example (Members from polyMesh.H and ZoneMesh.H):
    label thisCellZoneID = mesh.cellZones().findZoneID("thisZoneName");
    const labelList& thisCellZone = mesh.cellZones()[thisCellZoneID];

    - Zone integrity is preserved during mesh modification and decompomposition.

    - Once created via addZones, zones allow modification through non-const
    access

3. Fluent boundary types.
    - All internal and baffle elements are ignored during conversion

    - Boundary faces labelled as internal (i.e. interior, interface, internal,
    solid, fan, radiator, porous-jump) but that are in fact external boundaries
    will be added to a default wall boundary.