mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
21 lines
476 B
C
21 lines
476 B
C
forAll(fluidRegions, i)
|
|
{
|
|
rhoThermo& thermo = thermoFluid[i];
|
|
radiation::radiationModel& rad = radiation[i];
|
|
fv::options& fvOptions = fluidFvOptions[i];
|
|
volScalarField& he = thermo.he();
|
|
fvOptions.correct(he);
|
|
thermo.correct();
|
|
rad.correct();
|
|
}
|
|
|
|
forAll(solidRegions, i)
|
|
{
|
|
solidThermo& thermo = thermos[i];
|
|
fv::options& fvOptions = solidHeatSources[i];
|
|
volScalarField& h = thermo.he();
|
|
fvOptions.correct(h);
|
|
thermo.correct();
|
|
}
|
|
|