|
[Sponsors] |
OF2.3.0: Tranport properties - errors solver in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 12, 2015, 06:27 |
OF2.3.0: Tranport properties - errors solver in parallel
|
#1 |
New Member
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11 |
First of all, Hi to all !
this forum helped me a lot in the past but today i'm gonna be crazy... I'm a beginner who have to use some data from OpenFOAM 2.2.1 concerning a case running with porousInterFoam solver on OF 2.3.0 Since few weeks now they updated OF to version 2.3.0 and I can't use my folder anymore. When I launch my template with mpirun in parallel I got an error message with "transportProperties": Reading transportProperties --> FOAM Warning : From function entry::getKeyword(keyType&, Istream&) in file db/dictionary/entry/entryIO.C at line 80 Reading /home/maniez/OpenFOAM/maniez-2.3.0/run/biggerMesh_190s_5e-11_porosity05_p2/constant/transportProperties found on line 22 the punctuation token '{' expected either } or EOF I have already checked the "{" problem but I think my folder is ok. I read on forum that an update was done about how to define fluids via "phase (xx1 xx2);" in transportProperties. I'm not sure about this because my fluid is named "alpha1" in 0/ , constant/, system/. I tried to change with new name but it was not working at all so I kept alpha1. I enclosed the job-parallel error file and my tranportProperties file. (open with NotePAD++) Thanking in advance for your help... greatings Mico. |
|
May 12, 2015, 06:49 |
|
#2 |
Senior Member
|
Hi,
You can check transportProperties syntax in tutorial cases for interFoam. According to your log, error happens in twoPhaseMixture constructor, which is quite simple: Code:
Foam::twoPhaseMixture::twoPhaseMixture ( const fvMesh& mesh, const dictionary& dict ) : phase1Name_(wordList(dict.lookup("phases"))[0]), phase2Name_(wordList(dict.lookup("phases"))[1]), ... {} Did you try: Code:
phases (resin air); resin { ... } air { ... } |
|
May 12, 2015, 07:06 |
|
#3 | |
New Member
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Quote:
Hi, Thanks for your answer, Yes I tried this but I'm not sure if I did it well... (based on forums) - I changed my tranportProperties with "resin" and "air". - After OF was looking for 0/alpha.resin so i changed old file 0/alpha1.org by 0/alpha.resin.org - Changed in setFieldsdict alpha1 ---> alpha.resin - fvSchemes, alpah1 became alpha.resin I tried with setFields to check and it was working but I got lots of errors when I launched the solver. I think i forgot to redefine something somewhere in my folder like the solver or equations (may call alpha1) Did i miss something with the new way to name fluids ? I can tried again with your syntax and post the error log if you want. Sorry for my beginner questions :-) thanks. |
||
May 12, 2015, 09:27 |
|
#4 |
Senior Member
|
Hi,
Everything is correct except fvSchemes, there should be just alpha. alpha.resin.* should appear in fvSolution (also settings for solution of alpha equation are moved from PIMPLE dictionary to separate sub-dictionary in solvers dictionary). As I said: take a look at interFoam tutorials (porousInterFoam is just a derivative, and now it is even redundant as interFoam + fvOptions do the same). |
|
May 12, 2015, 10:08 |
|
#5 |
New Member
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Hi,
I did all the changes again and add "alpha.resin.*" as it's done in interFoam in fvSolution. Concerning fvSchemes I put "alpha" in fluxreauired but after tested it it asked me to put "alpha.resin". I tried again to launch the solver but now I have another error: --> FOAM FATAL IO ERROR: [2] keyword div(rhoPhi,U) is undefined in dictionary "IOstream.divSchemes" [2] [2] file: IOstream.divSchemes from line 0 to line 0. [2] [2] From function dictionary::lookupEntry(const word&, bool, bool) const [2] in file db/dictionary/dictionary.C at line 437. But "div(rho*Phi,U) is defined in it (fvSchemes)... It was working properly with old version and if I compare with interfoam, it's the same equation. I really appreciate your help ! Ps: I enclosed new error log and fvSolution/Schemes. |
|
May 12, 2015, 10:14 |
|
#6 |
New Member
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11 |
Forget my last post... I saw my mistake !
div(rhoPhi, U) is not the same as old one div(rho*phi, U) ... Code is running now !! I will tell you in 1,5h if everything is fine ! Thanks you so much for your help ! I will keep your name in mind for the futur ahahah. et merci bcp ;-) |
|
Tags |
error, porousinterfoam, transportproperties |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
different results between serial solver and parallel solver | wlt_1985 | FLUENT | 11 | October 12, 2018 09:23 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |