mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Adding coupled matrix option for solid-only cht cases
This commit is contained in:
@ -49,3 +49,21 @@ forAll(fluidRegions, i)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
forAll(solidRegions, i)
|
||||
{
|
||||
if (coupled && fvMatrixAssemblyPtr.empty())
|
||||
{
|
||||
solidThermo& thermo = thermos[i];
|
||||
Info << "Create fvMatrixAssembly." << endl;
|
||||
fvMatrixAssemblyPtr.reset
|
||||
(
|
||||
new fvMatrix<scalar>
|
||||
(
|
||||
thermo.he(),
|
||||
dimEnergy/dimTime
|
||||
)
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user