|
[Sponsors] |
February 29, 2012, 14:31 |
rho in fvc::flux
|
#1 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 24 |
Hi all, I'm looking for the way the give the fvc::flux a density with a different name of "rho", from the code we have that when we're dealing with a mass flux, then the following code is executed (PhiScheme.C):
Code:
00069 if (this->faceFlux_.dimensions() == dimDensity*dimVelocity*dimArea) 00070 { 00071 const volScalarField& rho = 00072 phi.db().objectRegistry::template lookupObject<volScalarField> 00073 ("rho"); 00074 00075 tUflux = this->faceFlux_/fvc::interpolate(rho); 00076 } Is it possible to give a different name for the density in the case of fvc::flux operataror like in BC's? Thanks in advance.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist 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. http://www.cimec.org.ar |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
rhoSimplecFoam, solving rho | j-blindi | OpenFOAM Running, Solving & CFD | 4 | October 14, 2011 05:54 |
Low Mach number Compressible jet flow using LES | ankgupta8um | OpenFOAM Running, Solving & CFD | 7 | January 15, 2011 14:38 |
rho euation in rhoPisoFoam | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | October 5, 2010 08:44 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |
Error log | vw.cfd | OpenFOAM | 6 | August 7, 2009 06:44 |