|
[Sponsors] |
[OpenFOAM] how to show the variable I defined myself |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2012, 07:12 |
how to show the variable I defined myself
|
#1 |
New Member
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14 |
Hello, OpenFOAM users:
recently,I meet a problem.I can not show the variable I defined. I use icoFOAM to calculate a channel flow.When it finished down I use an application which it's write by myself to calculate EDR a variable I define myself.After it down,I can find there are files named EDR in each time directory. But I run paraFoam,I can't choose EDR ,I can just only choose p and U. who can tell me why? |
|
November 10, 2012, 09:21 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Did you define an IOObject with the AUTO_WRITE option?
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
November 10, 2012, 21:45 |
|
#3 |
New Member
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14 |
Thanks for your help,
But I think maybe I do not know exactly about what you means. I accept your suggestion in this way, as below shows: volScalarField edr ( IOobject ( "EDR", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), laminarTransport.nu() * (fvc::grad(U)+T(fvc::grad(U))) && (fvc::grad(U)) ); after wmake again,I write to re calculate the EDR.But after paraFoam I can still can't find the choose to show EDR in paraview. |
|
November 11, 2012, 19:31 |
|
#4 |
New Member
Wang Han
Join Date: May 2012
Location: Shanghai China
Posts: 21
Rep Power: 14 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How can I define different zones in ICEM? | llrr | ANSYS Meshing & Geometry | 14 | February 12, 2017 14:44 |
UDF link fortran source | yorelchr | Fluent UDF and Scheme Programming | 0 | February 7, 2013 04:44 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 05:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |