OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

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 }
Copyright © 2000-2009 OpenCFD Ltd