87 lines
2.6 KiB
INI
87 lines
2.6 KiB
INI
/*---------------------------------------------------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.0 |
|
|
| \\ / A nd | Web: http://www.openfoam.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
// refineMesh tool definition
|
|
|
|
description "Refines mesh within a cell set defined in refineMeshDict";
|
|
|
|
refineMeshDict
|
|
{
|
|
type dictionary;
|
|
description "refineMesh control dictionary";
|
|
dictionaryPath "system";
|
|
|
|
entries
|
|
{
|
|
arguments
|
|
{
|
|
type rootCaseArguments;
|
|
entries
|
|
{
|
|
include "$FOAMX_CONFIG/entries/arguments/dict.cfg";
|
|
}
|
|
}
|
|
|
|
set
|
|
{
|
|
type word;
|
|
description "cell set file name";
|
|
}
|
|
|
|
coordinateSystem
|
|
{
|
|
type word;
|
|
description "coordinate system for refinement process";
|
|
default global;
|
|
valueList
|
|
(
|
|
global
|
|
patchLocal
|
|
);
|
|
}
|
|
|
|
globalCoeffs
|
|
{
|
|
type dictionary;
|
|
entries
|
|
{
|
|
include "$FOAMX_CONFIG/entries/vector/tan1.cfg";
|
|
include "$FOAMX_CONFIG/entries/vector/tan2.cfg";
|
|
}
|
|
}
|
|
|
|
patchLocalCoeffs
|
|
{
|
|
type dictionary;
|
|
entries
|
|
{
|
|
patch
|
|
{
|
|
type word;
|
|
description "tan2 is face normal to 0th face of this patch";
|
|
}
|
|
include "$FOAMX_CONFIG/entries/vector/tan1.cfg";
|
|
}
|
|
}
|
|
|
|
directions
|
|
{
|
|
type list;
|
|
description "list of directions to refine (must be tan1, tan2 and/or normal)";
|
|
elementType word;
|
|
default ( tan1 <> );
|
|
}
|
|
|
|
include "$FOAMX_CONFIG/entries/Switch/useHexTopology.cfg";
|
|
include "$FOAMX_CONFIG/entries/Switch/geometricCut.cfg";
|
|
include "$FOAMX_CONFIG/entries/Switch/writeMesh.cfg";
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|