|
[Sponsors] |
August 31, 2017, 15:35 |
How to find which values need schemes.
|
#1 |
New Member
Join Date: Aug 2017
Posts: 18
Rep Power: 9 |
Hello!
Let's say I want to set different schemes to all of the interpolation "values" and not to set it with the "default ..." How can I find in which "values" I need to define schemes? |
|
August 31, 2017, 16:28 |
|
#2 |
Member
Joshua
Join Date: Dec 2016
Location: St. Louis, Missouri
Posts: 91
Rep Power: 10 |
You should be able to get rid of the default entry and run the case via whatever your solver is (simpleFoam?). The case should crash and the log file will say it is missing scheme blah. Now you know what scheme to add. Do this till the case doesn't crash anymore.
|
|
August 31, 2017, 17:35 |
|
#3 | |
New Member
Join Date: Aug 2017
Posts: 18
Rep Power: 9 |
i am using the rhoCentralFoam solver and when I do as you said I get this:
Quote:
I have managed to define the schemes I want to some other values like rho, U, T but this...I can't.. |
||
August 31, 2017, 20:00 |
|
#4 |
Member
Joshua
Join Date: Dec 2016
Location: St. Louis, Missouri
Posts: 91
Rep Power: 10 |
What does your fvSchemes file look like? I'm guessing you should have something like the following in that file.
gradSchemes { . . . } divSchemes { . . . } interpolationSchemes { flux(rhoU) linear; } |
|
September 1, 2017, 06:04 |
|
#5 | ||
New Member
Join Date: Aug 2017
Posts: 18
Rep Power: 9 |
Well, yeah that worked. Thanks!
But what if I want to use a different scheme like Minmod? It doesn't work.. I get this error if I put anything else except "linear" Quote:
But, like I told you it works with this: Quote:
|
|||
September 1, 2017, 10:38 |
|
#6 |
Member
Joshua
Join Date: Dec 2016
Location: St. Louis, Missouri
Posts: 91
Rep Power: 10 |
Unfortunately I don't know much about only being able to use the linear scheme. It may be the only scheme available for the flux. Maybe someone else knows more.
|
|
September 1, 2017, 12:40 |
|
#7 |
Member
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11 |
Hi,
When you get "attempt to read beyond EOF" it means that OpenFOAM is trying to read something else beyond the point you ended the line with ";" So perhaps you are not providing all information needed to use that scheme. It could be a word or number. You can check the header file (.H) corresponding to the scheme that you are trying to use. It will give you useful information regarding the syntax etc. Unfortunately, I have not used minmod myself so I cannot help you with that specific scheme. Regards, |
|
September 5, 2017, 09:19 |
|
#8 | |
New Member
Join Date: Aug 2017
Posts: 18
Rep Power: 9 |
Quote:
|
||
September 5, 2017, 13:09 |
|
#9 | |
Member
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11 |
Quote:
https://www.researchgate.net/publica...rk_of_OpenFOAM Regards, |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapping values from 2D mesh to 3D mesh boundary during runtime | benk | OpenFOAM Programming & Development | 1 | June 13, 2014 03:39 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
exact face values | RubenG | Main CFD Forum | 0 | June 22, 2009 12:09 |
How to set reference values to find Cl, Cm... (3D) | Cyril | FLUENT | 5 | June 26, 2006 12:22 |
setting reference values to find Cd, Cl, Cm (3D) | Jeff | FLUENT | 0 | June 23, 2006 02:10 |