|April 15, 2011, 13:24||
scalar to be replaced by volScalarField in equation
Join Date: Nov 2010
Posts: 50Rep Power: 7
I am trying to modify the following equation:
+ mvConvection->fvmDiv(phi, Yi)
Here TF is a scalar (constant value in each cell of the domain); however, I want to replace it by a volScalarField (a dynamic value calculated at each time step and varies across the cells).
Can someone provide the syntax of how to go about it? I've tried a few ways but they don't seem to be working.
Last edited by usergk; April 15, 2011 at 13:59.
|April 18, 2011, 08:15||
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 430Rep Power: 15
Hi, see in createFields.H file and add a new TF field.
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
|Thread||Thread Starter||Forum||Replies||Last Post|
|dieselFoam problem!! trying to introduce a new heat transfer model||vivek070176||OpenFOAM Programming & Development||10||December 24, 2014 00:48|
|Calculation of the Governing Equations||Mihail||CFX||7||September 7, 2014 06:27|
|Source Term on Scalar Transport Equation - crashing simulation||alessio.nz||OpenFOAM||19||February 8, 2011 08:38|
|How to solve a scalar equation with Fluent||Tomik||FLUENT||1||January 8, 2006 07:18|
|how solve a scalar equation with Fluent||tomik||FLUENT||0||January 5, 2006 07:38|