0
Regarding Error in opefoam

Hi Sir

I am trying to simulate forced convection heated pipe problem in openfoam using bouoyant pimple foam

I don't know why but i'm getting this error on running buoyantPimpleFoam

courant number is increasing continuosuly and Temperrature is reaching negative values which in turn is terminationg the solution process

pls help


OpenFOAM 18-07-21, 7:37 a.m. prth_bndl
0
Hi, Could you briefly explain the problem you're trying to simulate? Diagrams/schematic/sketches would be helpful.

Regards,
Ashley
18-07-21, 1:36 p.m. ashleymelvin


0
Yes this was the problem, that i am trying to simulate
18-07-21, 2:37 p.m. prth_bndl


0
this was the problem
18-07-21, 2:38 p.m. prth_bndl


0
Thanks for the details. They're really helpful. Could you maybe share your OpenFOAM case files with us? You could give the cloud drive link to your case folder and I could take a look at it to see what's wrong.

Regards,
Ashley
18-07-21, 2:42 p.m. ashleymelvin


0
Hi This is link the link for case files https://drive.google.com/drive/folders/15pygNBs8MRdlSdITfNFOOU7AhG0wj2pt?usp=sharing
Oops! Looks like spam! Waiting for moderator approval.
18-07-21, 3:40 p.m. prth_bndl

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


0
casefile Hi This is link the link for case files
18-07-21, 3:41 p.m. prth_bndl


0
Hi, I looked through your case files and made a few changes.
  1. Switched the flow to laminar as it is easier to debug and the problem statement also doesn't seem to have any constraints specified regarding this. You may enable turbulence in our case and check if the turbulence parameters are defined correctly.
  2. Changed the values in the prgh file to match the ones in the problem statement.
  3. For the heated section, since the wall flux and the thermal conductivity of the fluid is given, there's an easier way to specify wall flux boundary condition. The tempearture gradient at heated surface can be calculated using Q/k.
  4. In the controlDict, I've enable dynamic time-stepping so that your simulation automatically calculates the time-step based on the specified maximum Courant number (maxCo 0.5). I've also changed the endTime and write just so that I can check the simulation for a small time frame. Please feel free to change that.
  5. The major change that I made though was in the thermophysicalProperties file. In your case files, you had used the Boussinesq eqution of state. This equation of state only works well within a certain termperature range (min-max temperature in the domain). In your case, since the system is constantly getting heated, the range of temperature in your domain will keep increasing as time goes on. I have currently set the case up with perfectGas equation of state (P=rho*R*T). I'm not sure if the ideal gas law holds for the given temperature range, but you can check other equations of state available in OpenFOAM.
The files can be found in this link

Regards,
Ashley
18-07-21, 6:38 p.m. ashleymelvin


0
Hi ThankYou very much for you hardwork, just one more thing that i want to ask Is buoyantPimpleFoam right solver for this problem .
18-07-21, 8:45 p.m. prth_bndl

Yes, it is. The buoyantSimpleFoam would be the alternate solver you could try. It's a steady-state solver though, while the one you're currently using is a transient one.

Regards,
Ashley


18-07-21, 9:09 p.m. ashleymelvin

Login to add comment


0
Game the impossible quiz is a dash game to help you relieve stress and relax, play the impossible quiz online for free here:the impossible quiz
Oops! Looks like spam! Waiting for moderator approval.
23-07-21, 2:51 p.m. candymika

Login to add comment
Oops! Looks like spam! Waiting for moderator approval


Log-in to answer to this question.