CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

OF2.3.0: Tranport properties - errors solver in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2015, 05:27
Default OF2.3.0: Tranport properties - errors solver in parallel
  #1
New Member
 
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11
MicoZeinam is on a distinguished road
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.
Attached Files
File Type: txt log_CoarseMesh_porosity05_2bar.txt (11.9 KB, 1 views)
File Type: txt transportProperties.txt (1.7 KB, 6 views)
MicoZeinam is offline   Reply With Quote

Old   May 12, 2015, 05:49
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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]),
    ...
{}
Your empty phases list makes OpenFOAM unhappy (I have decided not to search for the reason why the error message is about {). Also the signal is sigSegv, guess access to the second element of empty word list causes the error.

Did you try:

Code:
phases (resin air);

resin
{
    ...
}

air
{
    ...
}
?
alexeym is offline   Reply With Quote

Old   May 12, 2015, 06:06
Default
  #3
New Member
 
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11
MicoZeinam is on a distinguished road
Quote:
Originally Posted by alexeym View Post

Did you try:

Code:
phases (resin air);

resin
{
    ...
}

air
{
    ...
}
?

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.
MicoZeinam is offline   Reply With Quote

Old   May 12, 2015, 08:27
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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).
alexeym is offline   Reply With Quote

Old   May 12, 2015, 09:08
Default
  #5
New Member
 
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11
MicoZeinam is on a distinguished road
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.
Attached Files
File Type: txt log_TestCoarseMesh_porosity05_2bar.txt (5.7 KB, 1 views)
File Type: txt fvSchemes.txt (1.4 KB, 4 views)
File Type: txt fvSolution.txt (1.9 KB, 1 views)
MicoZeinam is offline   Reply With Quote

Old   May 12, 2015, 09:14
Default
  #6
New Member
 
Maniez
Join Date: May 2015
Posts: 5
Rep Power: 11
MicoZeinam is on a distinguished road
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 ;-)
MicoZeinam is offline   Reply With Quote

Reply

Tags
error, porousinterfoam, transportproperties


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] Help with element size sandri_92 ANSYS Meshing & Geometry 14 November 14, 2018 07:54
different results between serial solver and parallel solver wlt_1985 FLUENT 11 October 12, 2018 08:23
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 14:52.