|
[Sponsors] |
buoyantPimpleFoam jet case diverges with the negative temperature |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 9, 2020, 04:53 |
buoyantPimpleFoam jet case diverges with the negative temperature
|
#1 | ||||
New Member
mahtab
Join Date: Nov 2014
Posts: 11
Rep Power: 12 |
Hi,
I want to simulate 2-D transient mixed convection heat transfer of a jet discharging to a confined cavity. The turbulent model was set kOmegaSST. I had run the case in buoyantBoussinesqPimpleFoam with OpenFoam 6 and got a stable solution out but, if I try to buoyantPimpleFoam solver in OpenFOAM 8, after a few time steps, the solution diverges with the negative temperature error. I want to use this solver because I need to apply Boussinesq approximation and incompressible perfect gas as equations of state for the different cases. The grid of the computational domain was shown in Figure. The output from checkMesh was OK. I checked out different schemes but they did not work. I think there is something wrong with pressure. I am new to compressible solvers and any help will be highly appreciated. The BCs was attached in 0 folder and the other case setups were presented below: ** thermophysicalProperties: Quote:
Quote:
fvSolution: Quote:
Quote:
|
|||||
December 9, 2020, 06:12 |
|
#2 |
Senior Member
|
Does your case convergence by limiting T and/or U?
limit temperature (https://www.openfoam.com/documentati...mperature.html), (especially this on) and velocity (https://www.openfoam.com/documentati...-velocity.html) using settings in fvOptions dictionary; |
|
December 10, 2020, 04:39 |
|
#3 | ||
New Member
mahtab
Join Date: Nov 2014
Posts: 11
Rep Power: 12 |
Thanks for the reply. As you mentioned, I used fvOptions for limiting temperature and velocity but after few time steps, the pimple didn't converge within 200 iterations. The following was written at the beginning of the log file:
Quote:
Quote:
|
|||
December 10, 2020, 13:23 |
|
#4 |
Senior Member
|
Look at fields inside of paraview or plot residual norms. See below.
Plotting the residual norm of various fields vs. iteration number * write residual norms of the various fields to file instead of to screen. Do so using so-called unix pipe command, e.g., simpleFoam >& log.simpleFoam or use the runApplication utility instead (typically inside of Allrun); * use foamLog utility to generate the the logs-directory in the case directory; foamLog runs a bunch of scripting commands to read data from the log-file and reorders the information in separate files; * use gnuplot to load and plot the data in the logs-directory: in separate terminal run ./myplot. See sample myplot file below Sample myplot file to plot residual norm vs. iteration number #!/bin/bash # Requires running foamLog <log-file> first!! gnuplot -persist >/dev/null 2>&2 << EOF set logscale y plot "logs/UxFinalRes_0" with lines, \ "logs/UyFinalRes_0" with lines, \ "logs/UzFinalRes_0" with lines, \ "logs/pFinalRes_0" with lines, \ "logs/kFinalRes_0" with lines, \ "logs/epsilonFinalRes_0" with lines |
|
December 12, 2020, 02:15 |
|
#5 |
New Member
mahtab
Join Date: Nov 2014
Posts: 11
Rep Power: 12 |
Thanks a lot. limiting T and U worked good and I don't get the error of the negative value of T. But I have divergence problems yet. Could you please check the boundary conditions and schemes that I used? Maybe they are wrong ��
I thank you a lot for your attention and help. |
|
December 13, 2020, 17:24 |
|
#6 |
Senior Member
|
Write an extensive report with geometry, flow conditions, mesh used, solvers settings used and results obtained. It likely that doing so, you will find indications yourself. If not, I will happy to give your report a look.
|
|
December 14, 2020, 02:19 |
|
#7 |
New Member
mahtab
Join Date: Nov 2014
Posts: 11
Rep Power: 12 |
Dear Domenico,
I will prepare the report and share it with you if there are any questions. Thanks for your kindness. Mahtab |
|
Tags |
buoyantpimplefoam, negative temperature |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Negative initial temperature T0 in wallboiling case of reactingTwoPhaseEulerFoam | chengtun | OpenFOAM Running, Solving & CFD | 7 | July 19, 2024 21:08 |
negative initial temperature/ exceeded number of max. iteratons | PSander | OpenFOAM Running, Solving & CFD | 0 | July 12, 2020 13:37 |
Negative temperature T0 in sonicFoam OF 5.x | deepbandivadekar | OpenFOAM Running, Solving & CFD | 8 | August 20, 2018 10:40 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 07:27 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |