[CIG-LONG] Density file

Walter Landry wlandry at caltech.edu
Thu Feb 28 09:50:02 PST 2013


"Nicolas.Riel" <a.nicolas.riel at gmail.com> wrote:
> Ok thank you for the answer Walter,
> 
> However, is there a simple way to copy the function of boundary
> conditions (with file import)  and to apply it for the
> densityEquation ?

There is no trivial way.  You could try calling the function

  StgFEM_StandardConditionFunctions_File0

in

  StgFEM/plugins/StandardConditionFunctions/StandardConditionFunctions.cxx

from the function

  BuoyancyForceTerm_density_alpha

in

  PICellerator/Utils/src/BuoyancyForceTerm.cxx

The "coordinates" you pass to File0 would be pressure and temperature,
but otherwise I think it would work.

Cheers,
Walter Landry


More information about the CIG-LONG mailing list