add heat equation to interFoam
hello dear friends
this is part of my code and when i run wmake to compile it , I encounter following error Info<<"Readeng field T/n"<<endl; volScalarField T ( IOobject ( "T" runTime.timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh ); error: expected primary-expression before ‘(’ token ( error: expected ‘)’ before ‘runTime’ runTime.timeName(), ^ i will be so thankful if u know what should i do & help me ? |
Comma after "T"?
|
Quote:
maybe it's because of my poor knowledg of c++ know i have a new stuation when run wmake Make/linux64GccDPOpt/myinterFoamDiabatic.o: In function `main': myinterFoamDiabatic.C:(.text.startup+0x40c7): undefined reference to `Foam::incompressibleTwoPhaseMixture::kappaf() const' collect2: error: ld returned 1 exit status make: *** [/home/masoud/OpenFOAM/masoud-2.3.1/platforms/linux64GccDPOpt/bin/myinterFoamDiabatic] Error 1 ?? I would be so glad if you can introduce to me some book or tutorial in advance openFoam & programing . i couldn't find any in it's website . |
Quote:
Check this http://www.cfd-online.com/Forums/ope...-velocity.html |
Quote:
In response to the original question: the official documentation provides much useful information regarding programming and code conventions, but I'm afraid it does require prior knowledge of and experience with C++. |
All times are GMT -4. The time now is 02:06. |