FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

resetMDFields.H

Go to the documentation of this file.
00001 if (runTime.outputTime())
00002 {
00003     allSpeciesN_RU = List< scalarField >
00004     (
00005         molecules.potential().nIds(),
00006         scalarField(mesh.nCells(), 0.0)
00007     );
00008 
00009     allSpeciesM_RU = List< scalarField >
00010     (
00011         molecules.potential().nIds(),
00012         scalarField(mesh.nCells(), 0.0)
00013     );
00014 
00015     allSpeciesVelocitySum_RU = List< vectorField >
00016     (
00017         molecules.potential().nIds(),
00018         vectorField(mesh.nCells(), vector::zero)
00019     );
00020 
00021     allSpeciesVelocityMagSquaredSum_RU = List< scalarField >
00022     (
00023         molecules.potential().nIds(),
00024         scalarField(mesh.nCells(), 0.0)
00025     );
00026 }
00027 
00028 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines