|
[Sponsors] |
April 28, 2012, 18:10 |
question about createField
|
#1 |
New Member
reza
Join Date: Apr 2012
Posts: 7
Rep Power: 14 |
hello
I'm new user and I want to know what the statement "mesh" do in this lines: volScalarField u ( IOobject ( "u", runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE, ), mesh ) I want to do some change into some area of a mesh like specify u in a plane or specific region can changing the "mesh" in here help me? |
|
April 30, 2012, 06:17 |
|
#2 |
New Member
Declan Carolan
Join Date: Jul 2011
Posts: 3
Rep Power: 15 |
you should use the setFields utility together with setFieldsDict. This will allow you to change the values of any variable you solve for. Have a look at the multiphase tutorial for an example of what setFields can do.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question Re Engineering Data Source | imnull | ANSYS | 0 | March 5, 2012 14:51 |
internal field question - PitzDaily Case | atareen64 | OpenFOAM Running, Solving & CFD | 2 | January 26, 2011 16:26 |
question on bounday layer modeling | Wen Long | Main CFD Forum | 2 | November 12, 2005 18:29 |
Poisson Solver question | Suresh | Main CFD Forum | 3 | August 12, 2005 05:37 |
Philosophical CFD question | Richard Howe | Main CFD Forum | 14 | June 17, 2001 15:41 |