mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
symmetryPlane: add symmetryPlane as a special type of symmetry condition applied to a single plane
The standard/previous general symmetry type is now named symmetry
both in class and lookup name for consistency. The rigorous
symmetryPlane type is needed for moving-mesh cases in which the
motion it constrained by one or two planes.
This commit is contained in:
@ -33,6 +33,7 @@ using std::ios;
|
||||
#include "fluentFvMesh.H"
|
||||
#include "primitiveMesh.H"
|
||||
#include "wallFvPatch.H"
|
||||
#include "symmetryPlaneFvPatch.H"
|
||||
#include "symmetryFvPatch.H"
|
||||
#include "cellModeller.H"
|
||||
|
||||
@ -177,7 +178,11 @@ void Foam::fluentFvMesh::writeFluentMesh() const
|
||||
{
|
||||
fluentMeshFile << 3;
|
||||
}
|
||||
else if (isA<symmetryFvPatch>(boundary()[patchI]))
|
||||
else if
|
||||
(
|
||||
isA<symmetryPlaneFvPatch>(boundary()[patchI])
|
||||
|| isA<symmetryFvPatch>(boundary()[patchI])
|
||||
)
|
||||
{
|
||||
fluentMeshFile << 7;
|
||||
}
|
||||
@ -280,7 +285,11 @@ void Foam::fluentFvMesh::writeFluentMesh() const
|
||||
{
|
||||
fluentMeshFile << "wall ";
|
||||
}
|
||||
else if (isA<symmetryFvPatch>(boundary()[patchI]))
|
||||
else if
|
||||
(
|
||||
isA<symmetryPlaneFvPatch>(boundary()[patchI])
|
||||
|| isA<symmetryFvPatch>(boundary()[patchI])
|
||||
)
|
||||
{
|
||||
fluentMeshFile << "symmetry ";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user