mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvOptions: The "<type>Coeffs" sub-dictionary is now optional
For example the actuationDiskSource fvOption may now be specified
disk1
{
type actuationDiskSource;
fields (U);
selectionMode cellSet;
cellSet actuationDisk1;
diskDir (1 0 0); // Orientation of the disk
Cp 0.386;
Ct 0.58;
diskArea 40;
upstreamPoint (581849 4785810 1065);
}
rather than
disk1
{
type actuationDiskSource;
active on;
actuationDiskSourceCoeffs
{
fields (U);
selectionMode cellSet;
cellSet actuationDisk1;
diskDir (1 0 0); // Orientation of the disk
Cp 0.386;
Ct 0.58;
diskArea 40;
upstreamPoint (581849 4785810 1065);
}
}
but this form is supported for backward compatibility.
This commit is contained in:
@ -18,7 +18,6 @@ FoamFile
|
||||
porosity
|
||||
{
|
||||
type explicitPorositySource;
|
||||
active yes;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
{
|
||||
@ -53,32 +52,24 @@ porosity
|
||||
fixedTemperature
|
||||
{
|
||||
type fixedTemperatureConstraint;
|
||||
active yes;
|
||||
|
||||
fixedTemperatureConstraintCoeffs
|
||||
{
|
||||
selectionMode cellZone;
|
||||
cellZone porosity;
|
||||
mode uniform;
|
||||
temperature 350;
|
||||
}
|
||||
selectionMode cellZone;
|
||||
cellZone porosity;
|
||||
mode uniform;
|
||||
temperature 350;
|
||||
}
|
||||
|
||||
|
||||
porosityTurbulence
|
||||
{
|
||||
type scalarFixedValueConstraint;
|
||||
active yes;
|
||||
|
||||
scalarFixedValueConstraintCoeffs
|
||||
selectionMode cellZone;
|
||||
cellZone porosity;
|
||||
fieldValues
|
||||
{
|
||||
selectionMode cellZone;
|
||||
cellZone porosity;
|
||||
fieldValues
|
||||
{
|
||||
k 1;
|
||||
epsilon 150;
|
||||
}
|
||||
k 1;
|
||||
epsilon 150;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user