May 28, 2024, 05:51
|
CFMesh: Interrupted Refinement using TetMesh in Elbow Geometry
|
#1
|
Member
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2
|
Hi, all.
I am testing cfMesh as an open source mesher on a mixing elbow. No issues in terms of workflow, the stl file from SALOME have been converted into an .fms file and the simulations are running smoothly.
However, when I am using the tetMesh, the object refinement I have placed in the bend of the elbow works well, then stops and then it refines again. Has anyone encountered such an issue? I have attached an image for clarity.
I don't encounter this necessarily with cartesianMesh or pMesh. Any suggestions are welcome. This issue increases my mesh skewness a lot.
Mesh dict is here:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | cfMesh: A library for mesh generation |
| \\ / O peration | |
| \\ / A nd | Author: Franjo Juretic |
| \\/ M anipulation | E-mail: franjo.juretic@c-fields.com |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object meshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//By default I think the dimensions are in metres.
surfaceFile "elbow_90degree.fms";
maxCellSize 0.02;
boundaryCellSize 0.02;
keepCellsIntersectingBoundary 1;
objectRefinements
{
elbow_refinement
{
type sphere;
cellSize 0.012;
centre (0.04 0 0.04);
radius 0.05;
refinementThickness 0.1;
}
}
boundaryLayers
{
nLayers 5;
thicknessRatio 1.2;
maxFirstLayerThickness 0.0015;
allowDiscontinuity 0;
}
renameBoundary
{
defaultName walls;
defaultType patch;
newPatchNames
{
inlet1
{
newName inlet1;
type patch;
}
outlet
{
newName outlet;
type patch;
}
symmetry_plane
{
newName symmetry_plane;
type symmetry;
}
walls
{
newName walls;
type wall;
}
inlet2
{
newName inlet2;
type patch;
}
}
}
// ************************************************************************* //
|
|
|