Skip to content

Modified fluentMeshToFoam to have separated frontAndBackPlanes

License

Notifications You must be signed in to change notification settings

BrushXue/fluent2DMeshToFoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fluent2DMeshToFoam

Modified fluentMeshToFoam with separated frontAndBackPlanes.

Currently when converting a 2D fluent mesh, two surfaces will be combined to frontAndBackPlanes which makes it impossible to extrude. This modified utility creates frontPlane and backPlane instead.

Usage

fluent2DMeshToFoam -2D <thickness> <filename>.msh

Then it is possible to extrude the mesh with the following extrudeMeshDict

constructFrom patch;
sourceCase      "<case>";
sourcePatches   (frontPlane);
exposedPatchName frontPlane;

flipNormals false;
extrudeModel        linearNormal;
nLayers             100;
expansionRatio      1.1;
linearNormalCoeffs
{
    thickness       0.1;
}

mergeFaces false;
mergeTol 0;

About

Modified fluentMeshToFoam to have separated frontAndBackPlanes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published