|
[Sponsors] |
Something wrong running rhoSimpleFoam (urgent!) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 27, 2017, 14:22 |
Something wrong running rhoSimpleFoam (urgent!)
|
#1 |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Dear all,
I am using rhoSimpleFoam to simulate the flow around NHLD-2D, which is a multi-element airfoil. The flow condition is Ma=0.197, Re=3.52e6, T=288, Pref=101755.6Pa, AOA=0 degree. And the version of my OpenFOAM is 4.1. Now, the same error always occur, please see the picture attached below. And I have already tried many methods, but I still cannot get it done. I am not sure whether I set the wrong value, wrong schemes (stuffs in the fvScheme), or wrong solution method (stuffs in fvSolution). As such, I upload my case folder, except the mesh file(it is too big, but if you need it, please let me know). Actually, the quality of my mesh is really good. It could not be caused by mesh. As far as I am concerned, I think this error is related to thermodynamic parameters. Please help me, it is a little bit urgent. Thanks in advance. Best Regards, Peter Last edited by PeterShi; February 27, 2017 at 20:39. |
|
February 28, 2017, 07:25 |
|
#2 |
Member
W.T
Join Date: Oct 2012
Posts: 35
Rep Power: 14 |
Hi PeterShi
Often on early iterations of compressible solvers temperature/energy equation produces unphysical values(negative temperature) if fields are not physicly initialized. Almost always "soft start" helps with this issue. Try set inlet velocity conditions to uniformFixedValue and set small velocity on first iterations ramping to desired velocity in 100-500 iteration. Something like this: Code:
inlet { type uniformFixedValue; uniformValue table ( (0 (1 0 0) (200 (67.014 0 0) ); } |
|
February 28, 2017, 07:39 |
|
#3 | |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Quote:
I copied your code and pasted it exactly as you showed. However, an error message came out: --> FOAM FATAL IO ERROR: "ill defined primitiveEntry starting at keyword 'uniformValue' on line 29 and ending at line 58" file: /home/peter/OpenFOAM/Peter-4.1/2017/NHLP/rhoSimpleFoamrevised/3rrr/0/0/U at line 58. From function void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 189. FOAM exiting I am unfamiliared with this type of bc, what is going wrong? Many thanks. Best, Peter |
||
February 28, 2017, 08:19 |
|
#4 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
There is a bracket mis-match.
|
|
February 28, 2017, 08:22 |
|
#5 |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
||
February 28, 2017, 08:59 |
|
#6 |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Hi,
I got it, the right form should be: inlet { type uniformFixedValue; uniformValue table ( (0(1.0 0 0)) (200(67.0142924 0 0)) ); } But the same error message as I showed at the very beginning came out again. And I tried other values instead of one, unfortunately, it still does not work out. Any other advice? Thanks. Peter |
|
March 1, 2017, 09:34 |
|
#7 | |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Quote:
Thanks. Do you have additional suggestions regarding to my case? Best, Peter |
||
March 1, 2017, 10:21 |
|
#8 |
Senior Member
Kevin van As
Join Date: Sep 2014
Location: TU Delft, The Netherlands
Posts: 252
Rep Power: 21 |
I don't know what is wrong with your case, but I do agree that dybuk's solution is a very plausible cause for an initial instability (assuming that your BC are not wrong etc.).
However, I have never worked with his method of achieving the ramping, and I'm not sure if it does the trick by just reading it. (For that purpose, I'd use groovyBC.) I'd try the following:
If no (it jumps up), go for groovyBC for the same purpose. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx | Jaro | OpenFOAM Running, Solving & CFD | 8 | March 16, 2016 08:27 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 10:38 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
Tutorial is not running on star-CD version 3.2 | Arnab | Siemens | 0 | August 30, 2004 16:43 |
star is not running the simulation in windows | Arnab | Siemens | 1 | August 2, 2004 03:40 |