Commit 678c8a79 authored by Franjo's avatar Franjo
Browse files

Merge branch 'enhancement-testCases-t32' into development

parents 05e5aa88 25314e4f
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication surfaceFeatureEdges 5415Joined2.stl 5415Joined3.ftr
runApplication cartesianMesh
runApplication checkMesh
This tutorials demonstrates the usage of surface mesh refinement sources
/*--------------------------------*- 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 constrolDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application ;
deltaT 0.05;
endTime 10;
graphFormat raw;
purgeWrite 0;
runTimeModifiable yes;
startFrom latestTime;
startTime 0;
stopAt endTime;
timeFormat general;
timePrecision 6;
writeCompression uncompressed;
writeControl timeStep;
writeFormat ascii;
writeInterval 20;
writePrecision 6;
// ************************************************************************* //
\ No newline at end of file
/*--------------------------------*- 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 fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
ddtSchemes
{
default Euler;
}
divSchemes
{
default Gauss linear;
div(phi,U) Gauss limitedLinearV 1;
}
fluxRequired
{
default no;
p p;
}
gradSchemes
{
default Gauss linear;
grad(U) Gauss linear;
grad(p) Gauss linear;
}
interpolationSchemes
{
default linear;
interpolate(HbyA) linear;
interpolate(U) linear;
interpolate(p) linear;
}
laplacianSchemes
{
default Gauss linear corrected;
laplacian(1|A(U),p) Gauss linear corrected;
laplacian(nu,U) Gauss linear corrected;
}
snGradSchemes
{
default corrected;
sngrad(U) corrected;
sngrad(p) corrected;
}
// ************************************************************************* //
\ No newline at end of file
/*--------------------------------*- 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 fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
PISO
{
nCorrectors 2;
nNonOrthogonalCorrectors 2;
pRefCell 0;
pRefValue 0;
}
solvers
{
U
{
maxIter 1000;
preconditioner DILU;
relTol 0;
solver PBiCG;
tolerance 1e-06;
}
p
{
maxIter 1000;
preconditioner DIC;
relTol 0;
solver PCG;
tolerance 1e-06;
}
}
// ************************************************************************* //
\ No newline at end of file
/*--------------------------------*- 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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
surfaceFile "5415Joined3.ftr";
maxCellSize 100;
boundaryCellSize 50;
boundaryCellSizeRefinementThickness 50;
surfaceMeshRefinement
{
hull
{
additionalRefinementLevels 3;
surfaceFile "5415Joined1.stl";
refinementThickness 5;
}
}
// ************************************************************************* //
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment