mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'feature-isoAdvectorWithMorphingMeshes' into 'develop'
Introduced changes required to make isoAdvector and interIsoFoam work with... See merge request Development/OpenFOAM-plus!257
This commit is contained in:
@ -1,6 +1,19 @@
|
||||
{
|
||||
// Temporarily making U relative to mesh motion
|
||||
if (mesh.moving())
|
||||
{
|
||||
U -= fvc::reconstruct(mesh.phi());
|
||||
}
|
||||
|
||||
// Updating alpha1
|
||||
advector.advect();
|
||||
|
||||
// Making U absolute again after advection step
|
||||
if (mesh.moving())
|
||||
{
|
||||
U += fvc::reconstruct(mesh.phi());
|
||||
}
|
||||
|
||||
#include "rhofs.H"
|
||||
rhoPhi = advector.getRhoPhi(rho1f, rho2f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user