From 2ad70f9b9d4e91f80361979be9c47471470c2e32 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 7 Apr 2015 13:54:25 +0100 Subject: [PATCH] Added ddt term --- applications/solvers/coupled/pUCoupledFoam/UEqn.H | 3 ++- applications/solvers/coupled/pUCoupledFoam/createFields.H | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/solvers/coupled/pUCoupledFoam/UEqn.H b/applications/solvers/coupled/pUCoupledFoam/UEqn.H index 7219eb39e..4423aa565 100644 --- a/applications/solvers/coupled/pUCoupledFoam/UEqn.H +++ b/applications/solvers/coupled/pUCoupledFoam/UEqn.H @@ -1,7 +1,8 @@ // Momentum equation fvVectorMatrix UEqn ( - fvm::div(phi, U) + fvm::ddt(U) + + fvm::div(phi, U) + turbulence->divDevReff(U) ); diff --git a/applications/solvers/coupled/pUCoupledFoam/createFields.H b/applications/solvers/coupled/pUCoupledFoam/createFields.H index 1ea6ea880..51403c4a7 100644 --- a/applications/solvers/coupled/pUCoupledFoam/createFields.H +++ b/applications/solvers/coupled/pUCoupledFoam/createFields.H @@ -45,7 +45,7 @@ volVector4Field Up runTime.timeName(), mesh, IOobject::NO_READ, - IOobject::AUTO_WRITE + IOobject::NO_WRITE ), mesh, dimensionedVector4("zero", dimless, vector4::zero)