mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
10 lines
225 B
C
10 lines
225 B
C
for (phaseModel& phase : fluid.phases())
|
|
{
|
|
phase.DDtU() =
|
|
fvc::ddt(phase.U())
|
|
+ fvc::div(phase.phi(), phase.U())
|
|
- fvc::div(phase.phi())*phase.U();
|
|
|
|
MRF.addAcceleration(phase.U(), phase.DDtU());
|
|
}
|