fvModels: Remove 'Source' from names
The fact that these names create sources in their associated transport
equations is clear in context, so the name does not need to contain
'Source'.
Having 'Source' in the name is a historic convention that dates back to
when fvModels and fvConstraints were combined in a single fvOptions
interface. In this interface, disambiguation between sources and
constraints was necessary.
The full set of name changes is as follows:
accelerationSource -> acceleration
actuationDiskSource -> actuationDisk
effectivenessHeatExchangerSource -> effectivenessHeatExchanger
explicitPorositySource -> porosityForce
radialActuationDiskSource -> radialActuationDisk
rotorDiskSource -> rotorDisk
sixDoFAccelerationSource -> sixDoFAcceleration
solidEquilibriumEnergySource -> solidThermalEquilibrium
solidificationMeltingSource -> solidificationMelting
volumeFractionSource -> volumeBlockage
interRegionExplicitPorositySource -> interRegionPorosityForce
VoFSolidificationMeltingSource -> VoFSolidificationMelting
The old names are still available for backwards compatibility.
This commit is contained in:
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone porosity;
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone porosity;
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone porosity;
|
||||
|
||||
|
||||
@ -14,21 +14,21 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
volumeFraction
|
||||
volumeBlockage
|
||||
{
|
||||
type volumeFractionSource;
|
||||
type volumeBlockage;
|
||||
volumePhase volume;
|
||||
}
|
||||
|
||||
solidFraction
|
||||
solidBlockage
|
||||
{
|
||||
type volumeFractionSource;
|
||||
type volumeBlockage;
|
||||
volumePhase solid;
|
||||
}
|
||||
|
||||
solidEquilibriumEnergy
|
||||
solidThermalEquilibrium
|
||||
{
|
||||
type solidEquilibriumEnergySource;
|
||||
type solidThermalEquilibrium;
|
||||
solidPhase solid;
|
||||
}
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone stator;
|
||||
|
||||
|
||||
@ -14,9 +14,9 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
volumeFraction
|
||||
volumeBlockage
|
||||
{
|
||||
type volumeFractionSource;
|
||||
type volumeBlockage;
|
||||
volumePhase volume;
|
||||
}
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone porousBlockage;
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
disk1
|
||||
{
|
||||
type actuationDiskSource;
|
||||
type actuationDisk;
|
||||
|
||||
cellSet actuationDisk1;
|
||||
|
||||
@ -29,7 +29,7 @@ disk1
|
||||
|
||||
disk2
|
||||
{
|
||||
type actuationDiskSource;
|
||||
type actuationDisk;
|
||||
|
||||
cellSet actuationDisk2;
|
||||
|
||||
|
||||
@ -16,9 +16,9 @@ FoamFile
|
||||
|
||||
porosity1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone porosity;
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
airToporous
|
||||
airToPorous
|
||||
{
|
||||
type interRegionHeatTransfer;
|
||||
|
||||
@ -26,11 +26,11 @@ airToporous
|
||||
semiImplicit no;
|
||||
}
|
||||
|
||||
porosityBlockage
|
||||
porosity
|
||||
{
|
||||
type interRegionExplicitPorositySource;
|
||||
type interRegionPorosityForce;
|
||||
|
||||
interRegionExplicitPorositySourceCoeffs
|
||||
interRegionPorosityForceCoeffs
|
||||
{
|
||||
nbrRegion porous;
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
porousToair
|
||||
porousToAir
|
||||
{
|
||||
type interRegionHeatTransfer;
|
||||
|
||||
|
||||
@ -27,9 +27,9 @@ clouds
|
||||
|
||||
filter1
|
||||
{
|
||||
type explicitPorositySource;
|
||||
type porosityForce;
|
||||
|
||||
explicitPorositySourceCoeffs
|
||||
porosityForceCoeffs
|
||||
{
|
||||
cellZone filter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user