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:
Will Bainbridge
2023-10-12 16:23:38 +01:00
parent 16ecc4fe08
commit e0bdf2405e
63 changed files with 556 additions and 540 deletions

View File

@ -16,9 +16,9 @@ FoamFile
porosity1
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone porosity;

View File

@ -16,9 +16,9 @@ FoamFile
porosity
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone porosity;

View File

@ -16,9 +16,9 @@ FoamFile
porosity1
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone porosity;

View File

@ -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;
}

View File

@ -16,9 +16,9 @@ FoamFile
porosity1
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone stator;

View File

@ -14,9 +14,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
volumeFraction
volumeBlockage
{
type volumeFractionSource;
type volumeBlockage;
volumePhase volume;
}

View File

@ -16,9 +16,9 @@ FoamFile
porosity
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone porousBlockage;

View File

@ -16,7 +16,7 @@ FoamFile
disk1
{
type actuationDiskSource;
type actuationDisk;
cellSet actuationDisk1;
@ -29,7 +29,7 @@ disk1
disk2
{
type actuationDiskSource;
type actuationDisk;
cellSet actuationDisk2;

View File

@ -16,9 +16,9 @@ FoamFile
porosity1
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone porosity;

View File

@ -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;

View File

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
porousToair
porousToAir
{
type interRegionHeatTransfer;

View File

@ -27,9 +27,9 @@ clouds
filter1
{
type explicitPorositySource;
type porosityForce;
explicitPorositySourceCoeffs
porosityForceCoeffs
{
cellZone filter;