mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvOptions: Separate options for all cells, cellSets and inter-region coupling
by introducing rational base-classes rather than using the hideous 'switch' statement. Further rationalization of the cell-selection mechanism will be implemented via an appropriate class hierarchy to replace the remaining 'switch' statement. Mesh-motion is currently handled very inefficiently for cellSets and not at all for inter-region coupling. The former will be improved when the cell-selection classes are written and the latter by making the meshToMesh class a MeshObject after it has been corrected for mapFields.
This commit is contained in:
@ -18,14 +18,14 @@ FoamFile
|
||||
airToporous
|
||||
{
|
||||
type constantHeatTransfer;
|
||||
active on;
|
||||
selectionMode mapRegion;
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName porous;
|
||||
master false;
|
||||
active yes;
|
||||
|
||||
constantHeatTransferCoeffs
|
||||
{
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName porous;
|
||||
master false;
|
||||
|
||||
nbrModelName porousToair;
|
||||
fieldNames (h);
|
||||
semiImplicit no;
|
||||
@ -35,13 +35,13 @@ airToporous
|
||||
porosityBlockage
|
||||
{
|
||||
type interRegionExplicitPorositySource;
|
||||
active on;
|
||||
selectionMode mapRegion;
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName porous;
|
||||
active yes;
|
||||
|
||||
interRegionExplicitPorositySourceCoeffs
|
||||
{
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName porous;
|
||||
|
||||
type DarcyForchheimer;
|
||||
|
||||
DarcyForchheimerCoeffs
|
||||
|
||||
@ -18,18 +18,19 @@ FoamFile
|
||||
porousToair
|
||||
{
|
||||
type constantHeatTransfer;
|
||||
active on;
|
||||
selectionMode mapRegion;
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName air;
|
||||
master true;
|
||||
active yes;
|
||||
|
||||
constantHeatTransferCoeffs
|
||||
{
|
||||
interpolationMethod cellVolumeWeight;
|
||||
nbrRegionName air;
|
||||
master true;
|
||||
|
||||
nbrModelName airToporous;
|
||||
fieldNames (h);
|
||||
semiImplicit no;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user