mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +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
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
active yes;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
{
|
||||
@ -27,21 +26,18 @@ porosity1
|
||||
|
||||
type DarcyForchheimer;
|
||||
|
||||
DarcyForchheimerCoeffs
|
||||
{
|
||||
d (2e8 -1000 -1000);
|
||||
f (0 0 0);
|
||||
d (2e8 -1000 -1000);
|
||||
f (0 0 0);
|
||||
|
||||
coordinateSystem
|
||||
coordinateSystem
|
||||
{
|
||||
type cartesian;
|
||||
origin (0 0 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type cartesian;
|
||||
origin (0 0 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (0.70710678 0.70710678 0);
|
||||
e2 (0 0 1);
|
||||
}
|
||||
type axesRotation;
|
||||
e1 (0.70710678 0.70710678 0);
|
||||
e2 (0 0 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,15 +32,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.air (1e-3 0); // kg/s
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.air (1e-3 0); // kg/s
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,15 +45,12 @@ options
|
||||
{
|
||||
type vectorSemiImplicitSource;
|
||||
|
||||
vectorSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.air ((0 -1e-2 0) 0); // kg*m/s^2
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.air ((0 -1e-2 0) 0); // kg*m/s^2
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,15 +58,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
e.air (500 0); // kg*m^2/s^3
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
e.air (500 0); // kg*m^2/s^3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,15 +32,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.steam (1.0e-3 0); // kg/s
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.steam (1.0e-3 0); // kg/s
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,15 +45,12 @@ options
|
||||
{
|
||||
type vectorSemiImplicitSource;
|
||||
|
||||
vectorSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.steam ((0 1e-1 0) 0); // kg*m/s^2
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.steam ((0 1e-1 0) 0); // kg*m/s^2
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,15 +58,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
h.steam (3700 0); // kg*m^2/s^3
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
h.steam (3700 0); // kg*m^2/s^3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -32,15 +32,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.air (1e-3 0); // kg/s
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
thermo:rho.air (1e-3 0); // kg/s
|
||||
}
|
||||
}
|
||||
|
||||
@ -48,15 +45,12 @@ options
|
||||
{
|
||||
type vectorSemiImplicitSource;
|
||||
|
||||
vectorSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.air ((0 -1e-2 0) 0); // kg*m/s^2
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
U.air ((0 -1e-2 0) 0); // kg*m/s^2
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,15 +58,12 @@ options
|
||||
{
|
||||
type scalarSemiImplicitSource;
|
||||
|
||||
scalarSemiImplicitSourceCoeffs
|
||||
{
|
||||
$injector1;
|
||||
$injector1;
|
||||
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
e.air (500 0); // kg*m^2/s^3
|
||||
}
|
||||
volumeMode absolute;
|
||||
injectionRateSuSp
|
||||
{
|
||||
e.air (500 0); // kg*m^2/s^3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user