|
[Sponsors] |
May 8, 2006, 15:22 |
Hi,
I'm trying to use the out
|
#1 |
New Member
Carlo Fabrizi
Join Date: Mar 2009
Location: Rome, Italy
Posts: 5
Rep Power: 17 |
Hi,
I'm trying to use the output of one case as bc of another one.. It is a terrible task, now I need to know how I can change variable environment in a function that i use to read data.. in particular I run a modified simpleFoam as: simpleRFR <root> <case1> and I can read data from the directory /<case1>/0/. But in simpleRFR.C I call a function that should read from /<case2>/5/. How i can do this?? I read data in the following way: // Get index of patch label inletPatchID = mesh.boundaryMesh().findPatchID("movingWall"); // Get reference to boundary value const fvPatchVectorField& faceCentreshub = mesh.Cf().boundaryField()[inletPatchID]; fvPatchVectorField& movingWallU = U.boundaryField()[inletPatchID]; thanks Bye |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
RP_Set_Real("variable-name", variable name) | bohis | FLUENT | 1 | March 9, 2009 08:44 |
Setting working environment variable | Arthur | FLUENT | 0 | December 10, 2008 05:33 |
B.C. setting | PK | FLUENT | 0 | September 28, 2007 04:46 |
setting variable boundary | Mehdi | Siemens | 3 | January 31, 2006 05:33 |
variable time step:setting global courant number | Cedric | FLUENT | 0 | July 28, 2005 10:14 |