|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 371
Rep Power: 11 ![]() |
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. Post-doctoral Fellow Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL T.E.: 54-342-4511594 Ext. 1005 Güemes 3450 - (3000) Santa Fe Santa Fe - Argentina http://www.cimec.org.ar |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| rhoSimplecFoam, solving rho | j-blindi | OpenFOAM Running, Solving & CFD | 4 | October 14, 2011 04:54 |
| Low Mach number Compressible jet flow using LES | ankgupta8um | OpenFOAM Running, Solving & CFD | 7 | January 15, 2011 13:38 |
| rho euation in rhoPisoFoam | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | October 5, 2010 07:44 |
| Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 12:50 |
| Error log | vw.cfd | OpenFOAM | 6 | August 7, 2009 05:44 |