|
[Sponsors] |
August 25, 2019, 05:38 |
rhoCentralFoam (6) DOES NOT read fvOptions
|
#1 |
New Member
Join Date: Nov 2016
Posts: 8
Rep Power: 10 |
Dear Foamers -- looks like a bug:
rhoCentralFoam (6) DOES NOT read fvOptions upon solver execution. It does not read from /constant not from /system. Checked with rhoSimpleFoam -- no problem there. It is as if the file (fvOptions) is simply not there .. like file with this name does not exist. Thanks for looking into it. [Moderator note: Moved from the Bugs subforum to the CFD Solving forum.] Last edited by wyldckat; August 26, 2019 at 17:24. Reason: see "Moderator note:" |
|
August 25, 2019, 11:37 |
|
#2 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
rhoCentralFoam is not coded to use fvOptions, hence it is not read (and therefore not a bug).
Caelan |
|
August 26, 2019, 04:08 |
|
#3 |
New Member
Join Date: Nov 2016
Posts: 8
Rep Power: 10 |
Thanks! Suspected that. Would you happen to know a quick workaround to limit temperature or pressure in rhoCentralFoam? (sorry for posting in a 'bug thread')
|
|
August 26, 2019, 05:53 |
|
#4 |
Senior Member
Carlo_P
Join Date: May 2019
Location: Italy
Posts: 176
Rep Power: 8 |
Hey,
you can limit pressure or temperature in fvSolution. Check this file: https://github.com/OpenFOAM/OpenFOAM...tem/fvSolution Instead of rhoMin and rhoMax you can use temperatureMin and temperatureMax and other variables. I think that the new version would like to have rhoMinFactor or something like this. |
|
August 26, 2019, 14:21 |
|
#5 |
New Member
Join Date: Nov 2016
Posts: 8
Rep Power: 10 |
Hi!
Appreciate that. This is for rhoCentralFoam and I wonder where to place something like minTemperature or minPressure in fvSolution and what these variables actually are. I can start looking into the code, but that is after I make sure nobody has a quick answer (not obvious from Google). Normally, I would limit the temperature in fvOptions which is not available under rhoCentralFoam. L 08/29/19 |
|
August 26, 2019, 17:34 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick notes:
__________________
|
|
January 25, 2021, 03:09 |
|
#7 |
New Member
Matus Cvengros
Join Date: May 2018
Posts: 3
Rep Power: 8 |
If that is the case, how come that official user guide advertises fvOptions?
https://www.openfoam.com/documentati...ntralFoam.html |
|
January 25, 2021, 04:07 |
|
#8 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Hi,
I had the same problem and updated the solver with just a few lines and recompiled it. Its all described in this post: Sudden Increase of residuals |
|
January 25, 2021, 04:32 |
|
#9 | |
New Member
Matus Cvengros
Join Date: May 2018
Posts: 3
Rep Power: 8 |
Quote:
|
||
January 25, 2021, 04:43 |
|
#10 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Hi,
I am not sure what you mean with "additional statement". You have to include fvOptions in rhoCentralFoam.C, so you need the statement: #include "fvOptions.H. EEqnRCF is just a name I made up. RCF = rhoCentralFoam. This is just to use constrain and correct functionality. |
|
March 24, 2021, 07:55 |
|
#11 |
Member
Join Date: Dec 2018
Posts: 75
Rep Power: 7 |
Delete this comment please
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Configuration of boundary conditions and fvOptions file | Raza Javed | OpenFOAM Running, Solving & CFD | 16 | May 3, 2019 17:35 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Parallel Error in ANSYS FLUENT 12 | zeusxx | FLUENT | 25 | July 17, 2015 05:40 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 11:52 |
999999 (../../src/mpsystem.c@1123):mpt_read: failed:errno = 11 | UDS_rambler | FLUENT | 2 | November 22, 2011 10:46 |