CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

problem in reading the code

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   January 19, 2015, 02:43
Default problem in reading the code
New Member
Join Date: Jan 2015
Posts: 14
Rep Power: 4
Gary51075607 is on a distinguished road
Hi, everyone

I am a new in learning the OpenFoam. The solver of buoyantSimpleFoam is what i am interesting in . but i can not totally understand the following code in the creatFields.H.

autoPtr<rhoThermo> pThermo(rhoThermo::New(mesh));
rhoThermo& thermo = pThermo();
thermo.validate(args.executable(), "h", "e");

Can anyone help me?

Thank you very much in advance!

Gary51075607 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
Time Step Problem in NS equations code eulerian Main CFD Forum 0 June 18, 2013 20:12
problem when converting mesh (made by ICEM) using fluentMeshToFoam Forrest_Lei OpenFOAM 11 October 16, 2009 06:28
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10

All times are GMT -4. The time now is 11:43.