|
[Sponsors] |
fvOptions: temperatureLimitsConstraint or limitTemperature not working on V3.0+ |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 31, 2016, 13:35 |
fvOptions: temperatureLimitsConstraint or limitTemperature not working on V3.0+
|
#1 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
moving from 2.4.0 to 3.0+ and the fvOption temperatureLimitsConstraint has been removed.is this a bug or policy? I've checked the src and it is definitely gone.
edit/ I 've subsequently found out its deliberate in 3.0. however in 3.0+ its replacement (limitTemperature) at the moment is subject to an installation bug ... (limitTemperature missed out of the fvOptions/Make/files) /edit
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET Last edited by derekm; April 2, 2016 at 12:45. |
|
March 31, 2016, 18:37 |
fvOptions - V3.0 lots of trouble
|
#2 |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Be aware that in the transition to v3.0 from v2.4 some fvOptions have:
changed name, changed location, changed syntax e.g fvoptions are now in the constant directory p, li { white-space: pre-wrap; } temperatureLimitsConstraint is no longer there, its supposed to be replaced by limitTemperature ( edit it works in 3.0.1 but not in 3.0+). I dont know if thats the only one the location in the syntax of "selectionmode" and other stuff has changed from Code:
porousToair { type constantHeatTransfer; active on; selectionMode mapRegion; interpolationMethod cellVolumeWeight; nbrRegionName air; master true; constantHeatTransferCoeffs { nbrModelName airToporous; fieldNames (h); semiImplicit no; } } Code:
porousToair { type constantHeatTransfer; active yes; constantHeatTransferCoeffs { interpolationMethod cellVolumeWeight; nbrRegionName air; master true; nbrModelName airToporous; fieldNames (h); semiImplicit no; } }
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET Last edited by derekm; April 2, 2016 at 12:14. |
|
April 2, 2016, 19:12 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Derek,
The release notes that relate to this should be the ones from OpenFOAM 3.0.0: http://www.openfoam.org/version3.0.0/ - section "Sources and Constraints (fvOptions)" Unfortunately, there were several more changes that weren't listed in the release notes and that you've stumbled upon. These changes are listed here:
The code present in OpenFOAM 3.0.0 was started in December 2014 and was released almost a year later, which is why the release notes are not 100% complete. Either way, the trick in these situations is to compare a tutorial in each version of OpenFOAM to see what changed between versions for the particular feature you're trying to use. For the record, I noticed that you've also reported a bug for this in OpenFOAM+ at https://develop.openfoam.com - in issue #89. I only haven't given a full link, given that the access is visible only to registered users on their system. Best regards, Bruno
__________________
|
|
April 2, 2016, 19:45 |
|
#4 | |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Quote:
alas the feature in question and its replacement don’t have a presence in the tutorials
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
||
April 2, 2016, 19:51 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry, I saw on the second commit that I listed above, near the end, how it had changed for the other tutorials, but I forgot to look for examples for this particular fvOption
|
|
April 15, 2016, 00:20 |
|
#6 |
Member
Andrew Eisenhawer
Join Date: Nov 2012
Location: Alberta, Canada
Posts: 35
Rep Power: 14 |
So it's not just me...
Thanks for brining this up for the rest of us. I'm dealing with temperature runaway in reactingParcelFilmFoam and your info may put an end to many many hours of frustration and angst. Thanks again! This is what i have in fvOptions now, and it seems to be working: temperatureLimitThe big question however, is "Is this the only way to deal with temperature runaway, or is there something that can prevent it with htcConv settings or solver parameters?" |
|
February 1, 2021, 02:16 |
Sidenote for OpenFOAM8
|
#7 |
New Member
Fritz Nieborowski
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
I just Had similar issues as people in this thread, but seems like the Format changed so in case someone after 2020 using OpenFOAM8 has similar issues, this is my code for the system/fvOptions File that seemingly solved this issue for me.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I use fvOptions to couple a solid region and a fluid region? | titanchao | OpenFOAM Running, Solving & CFD | 4 | January 14, 2022 08:55 |
How to set fvOptions | yurifrey | OpenFOAM Pre-Processing | 5 | February 22, 2016 19:14 |
problem with fvOptions in twophase eulerfoam | Hamzeh_Mirab | OpenFOAM Running, Solving & CFD | 0 | January 27, 2015 12:04 |
[swak4Foam] Setting BC for a passive scalar (groovy vs fvOptions) | Tobi | OpenFOAM Community Contributions | 0 | May 23, 2013 15:53 |
Help required on working of Micro-oven | aero | CFX | 4 | January 19, 2007 09:21 |