From 638a892bbc287a75f84b249450e380e6cf0cf5fe Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 5 Jul 2021 15:45:22 +0100 Subject: [PATCH] Write out rho field --- applications/solvers/compressible/sonicDyMFoam/createFields.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/solvers/compressible/sonicDyMFoam/createFields.H b/applications/solvers/compressible/sonicDyMFoam/createFields.H index 98183de3b..a450748e3 100644 --- a/applications/solvers/compressible/sonicDyMFoam/createFields.H +++ b/applications/solvers/compressible/sonicDyMFoam/createFields.H @@ -19,7 +19,9 @@ ( "rho", runTime.timeName(), - mesh + mesh, + IOobject::READ_IF_PRESENT, + IOobject::AUTO_WRITE ), thermo.rho() );