|
[Sponsors] |
Problems adding volScalarField to rhoCentralFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 16, 2013, 20:06 |
Problems adding volScalarField to rhoCentralFoam
|
#1 |
New Member
Daniel
Join Date: Nov 2012
Posts: 5
Rep Power: 13 |
Dear all,
I thought I would be standing in front of just a little problem, when I wanted to add some run-tim-calculated fields to the rhoCentralFoam solver. I would like to calculate e.g. mach number on-the-fly for some easier sampling and so added following to the createFields.H (testet on wedge15Ma5 tutorial): Code:
volScalarField Ma ( IOobject ( "Ma", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mag(U)/sqrt(1.4/psi) ); I want that nonuniform list of scalars for my internal field. What am I doing wrong? Thanks in advance! Best Daniel |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] libOpenSMOKE | Tobi | OpenFOAM Community Contributions | 562 | January 25, 2023 09:21 |
dimensionedScalar + volScalarField is evaluated elementwisely ? | tianyikillua | OpenFOAM Programming & Development | 1 | March 30, 2012 03:12 |
Needed Benchmark Problems for FSI | Mechstud | Main CFD Forum | 4 | July 26, 2011 12:13 |
Adding a user application class | Rasmus Gjesing (Gjesing) | OpenFOAM Pre-Processing | 57 | February 3, 2010 03:45 |
Problems with volScalarField | niklas | OpenFOAM Running, Solving & CFD | 2 | November 28, 2005 16:05 |