mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
template cases: Updated to use surfaceFeatures rather than
the deprecated surfaceFeatureExtract utility
This commit is contained in:
38
etc/templates/closedVolume/system/surfaceFeaturesDict
Normal file
38
etc/templates/closedVolume/system/surfaceFeaturesDict
Normal file
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceFeaturesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
(
|
||||
"CAD.obj"
|
||||
);
|
||||
|
||||
includedAngle 150;
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
nonManifoldEdges yes;
|
||||
openEdges yes;
|
||||
}
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
minElem 0;
|
||||
minLen 0;
|
||||
}
|
||||
|
||||
writeObj yes;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -29,7 +29,7 @@ Background Mesh
|
||||
|
||||
Features
|
||||
========
|
||||
+ Run surfaceFeatureExtract to extract features for explicit feature capturing
|
||||
+ Run surfaceFeatures to extract features for explicit feature capturing
|
||||
|
||||
Castellated Mesh
|
||||
================
|
||||
|
||||
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceFeaturesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
(
|
||||
"fixed.obj"
|
||||
"rotating.obj"
|
||||
"rotatingZone.obj"
|
||||
);
|
||||
|
||||
includedAngle 150;
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
nonManifoldEdges yes;
|
||||
openEdges yes;
|
||||
}
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
minElem 0;
|
||||
minLen 0;
|
||||
}
|
||||
|
||||
writeObj yes;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceFeaturesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
(
|
||||
"CAD.obj"
|
||||
);
|
||||
|
||||
includedAngle 150;
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
nonManifoldEdges yes;
|
||||
openEdges yes;
|
||||
}
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
minElem 0;
|
||||
minLen 0;
|
||||
}
|
||||
|
||||
writeObj yes;
|
||||
|
||||
// ************************************************************************* //
|
||||
38
etc/templates/inflowOutflow/system/surfaceFeaturesDict
Normal file
38
etc/templates/inflowOutflow/system/surfaceFeaturesDict
Normal file
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceFeaturesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
(
|
||||
"CAD.obj"
|
||||
);
|
||||
|
||||
includedAngle 150;
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
nonManifoldEdges yes;
|
||||
openEdges yes;
|
||||
}
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
minElem 0;
|
||||
minLen 0;
|
||||
}
|
||||
|
||||
writeObj yes;
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -31,7 +31,7 @@ Background Mesh
|
||||
|
||||
Features
|
||||
========
|
||||
+ Run surfaceFeatureExtract to extract features for explicit feature capturing
|
||||
+ Run surfaceFeatures to extract features for explicit feature capturing
|
||||
|
||||
Castellated Mesh
|
||||
================
|
||||
|
||||
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object surfaceFeaturesDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
surfaces
|
||||
(
|
||||
"fixed.obj"
|
||||
"rotating.obj"
|
||||
"rotatingZone.obj"
|
||||
);
|
||||
|
||||
includedAngle 150;
|
||||
|
||||
subsetFeatures
|
||||
{
|
||||
nonManifoldEdges yes;
|
||||
openEdges yes;
|
||||
}
|
||||
|
||||
trimFeatures
|
||||
{
|
||||
minElem 0;
|
||||
minLen 0;
|
||||
}
|
||||
|
||||
writeObj yes;
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user