|
[Sponsors] |
incompressible thermo type (in buoyantSimpleFoam) |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17 ![]() |
Hi all,
I'm trying to compile the buoyantSimpleFoam with basicRhoThermo type to use the <incompressible> prop. to run simulation with water liquid (I saw this set up in chtMultiRegionLiquidFoam). I tested the chtMultiRegionFoam with <incompressible> thermo type for liquid water and it work well, but it is transient. I want steady. So I tryied the chtMultiRegionSimpleFoam with <incompressible> thermo type and it crashes in hEqn because it divide rho/psi where psi = 0 ! If I use the hEqu of buoyantSimpleFoam it works but the temperature field is not solved ! Why the chtMultiRegionSimpleFoam with <incompressible> thermo type does not work? Should it work? Did anyone meet this problem? Thanks for any help, Andrea
__________________
Andrea Pasquali |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17 ![]() |
Hi,
in the hEqn I changed the term "rho/psi" with "p" (they have same dimensions). Now it works but I think the T is not well solved. I attached the same model solved with buoyanPimpleFoam (bottom) and buoyantSimpleFoam modified (top). Note that for both I'm using basicRhoThermo type <incompressible> and I added porous medium. Thanks for any suggestion Andrea
__________________
Andrea Pasquali |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Maria Jaromin
Join Date: Sep 2011
Posts: 2
Rep Power: 0 ![]() |
Hi Andrea,
You show here results for a case using buoyantPimpleFoam with the basicRhoThermo type <incompressible>. I also tried the same configuration, but convergence is terrible. There may be many reasons for bad convergence of course, but I am wondering if you also faced any convergence problems here. Have you made any changes to buoyantPimpleFoam? About the buoyantSimpleFoam, the default thermo type is basicPsiThermo. What kind of changes have to be made to run here basicRhoThermo type <incompressible>? Thanks for any answers. Maria |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Andrea Pasquali
Join Date: Sep 2009
Location: Germany
Posts: 142
Rep Power: 17 ![]() |
Hi Maria,for pimple I did not find any strange problem. I used incompressible thermo type (check the multiRegionLiquidHeater tutorial).
You are right, for thesimple the default thermo type is the basicPsiThermo type. I changed it in the .C / .H code adding the basicRhoThermo. But, as you can see from my results, I think this is not enough! Let me know if you are going on with this, Andrea
__________________
Andrea Pasquali |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 ![]() |
Hello OpenFOAMers,
I am trying to run a multiRegion case using chtMultiRegionFoam solver and using icoPolynomial equationOfState for fluid region and its not working. I want to use chtMultiRegionFoam with <incompressible> thermo type for fluid region and to use icoPolynomial for temperatur dependent properties. Please let me know how I can do this. I mean where and what modification are required. Thanks Asad |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 ![]() |
Helli Tobi,
Thanks for your immediate response. I have been using following thermotype for fluid region Quote:
I just cant figure out what is wrong with my case... |
||
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Jamal
Join Date: May 2012
Location: Freiburg
Posts: 54
Rep Power: 13 ![]() |
please find attached a 0 folder of my case and please let me know if there is any problem BCs.
Thanks Asad |
|
![]() |
![]() |
![]() |
![]() |
#9 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
I can not find any error in U,p and p_rgh.
Well I wanted to simulate a coat store like that one http://www.thermografie-team.de/news...htspeicher.jpg without success. My problem was the p and p_rgh initialisation. After a few modification it was posible to solve my problem with steady state conditions but not with transient solver. Maybe you find any hints in that thread: http://www.cfd-online.com/Forums/ope...watertank.html especially with the p and p_rgh initialisation |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
second order schemes | marine | OpenFOAM | 67 | April 11, 2022 18:19 |
boundary conditions for simpleFoam calculation | foam_noob | OpenFOAM Running, Solving & CFD | 8 | July 1, 2015 08:07 |
Need help with boundary conditions: open to atmosphere | Wolle | OpenFOAM | 2 | April 11, 2011 07:32 |
Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 17:08 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |