From af434646d39984c53e35c55d5424a501ca37cc7c Mon Sep 17 00:00:00 2001 From: sergio Date: Tue, 20 Dec 2016 12:27:36 -0800 Subject: [PATCH] Adding flux to Make/files. And updating scalarTransport header instructions scalarTransport does not generate its own phiMean anymore but it is given from the user. This "flux" can be generated using the "flux" FO --- src/functionObjects/field/Make/files | 2 +- .../solvers/scalarTransport/scalarTransport.H | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/functionObjects/field/Make/files b/src/functionObjects/field/Make/files index f1e9aad995..14959cbfa5 100644 --- a/src/functionObjects/field/Make/files +++ b/src/functionObjects/field/Make/files @@ -81,7 +81,7 @@ extractEulerianParticles/eulerianParticle/eulerianParticle.C particleDistribution/particleDistribution.C - +flux/flux.C ddt2/ddt2.C zeroGradient/zeroGradient.C diff --git a/src/functionObjects/solvers/scalarTransport/scalarTransport.H b/src/functionObjects/solvers/scalarTransport/scalarTransport.H index cc50136ea8..e2570fc7f9 100644 --- a/src/functionObjects/solvers/scalarTransport/scalarTransport.H +++ b/src/functionObjects/solvers/scalarTransport/scalarTransport.H @@ -35,8 +35,6 @@ Description the 'schemesField' entry, - The diffusivity can be set manually using the 'D' entry, retrieved from the turbulence model or specified nut - - To specify a different flux derived from U enter UPhi velocity field name - (the phi used will be calculated based on this UPhi) - To specify a transport quantity within a phase enter phase. - bounded01 bounds the transported scalar within 0 and 1. @@ -113,9 +111,8 @@ Usage \table Property | Description | Required | Default value type | Type name: scalarTransport | yes | - phi | Name of flux field | no | phi + phi | Name of flux field | yes | rho | Name of density field | no | rho - UPhi | Name of U to generate phi | no | none phase | Name of the phase name | no | none nut | Name of the turbulence viscosity | no | none D | Diffusion coefficient | no | auto generated @@ -162,7 +159,7 @@ class scalarTransport //- Name of field to process word fieldName_; - //- Name of flux field (optional) + //- Name of flux field word phiName_; //- Name of density field (optional)