CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Curved a Mesh - negative initial temperature error in chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 6, 2019, 14:14
Default Curved a Mesh - negative initial temperature error in chtMultiRegionFoam
  #1
New Member
 
Michael
Join Date: May 2017
Posts: 12
Rep Power: 8
mbranag is on a distinguished road
I created a geometry which consists of a pipe that has cool water flowing through it. On the outside of the pipe is a region of hot oil that is flowing across the pipe.

Initially the geometry was created in a rectangular domain. The initial points were created in the xy plane. A second set of points were created by using the same xy coordinates but with a new z-coordinate. I was getting solutions that seemed reasonable and was getting a temperature drop in the oil as it flowed over the pipes.

Next I applied a curve to the geometry. So instead of simply extruding the geometry from the xy plane, I rotated the points about an axis (parallel to the y-axis). I also added curved edges between the points on the xy plane to this new rotated plane.

Now, the solution is failing to solve and I am getting a negative initial temperature error in the Hot Oil region. Looking at the output, the max/min temperatures in this region don't seem to change much based on the calculations until the end when the minimum swings changes drastically into the negative.

I have tried increasing the mesh in the direction of the rotation and in the regions with larger volumes. I have run checkMesh and all the results are reported as "OK". I have changed my surface normal schemes in all regions to account for the decreased orthogonality of the mesh (max of 41 degrees). The only change I made to the boundary condition was to correct the velocity boundary condition (inletOutlet) of the Cool Water which flows out the newly rotated plane. I have also tried tweaking the time steps of the solution and have not seen much variation.
Attached Files
File Type: zip CoolerArched.zip (37.9 KB, 7 views)
mbranag is offline   Reply With Quote

Old   December 7, 2019, 16:30
Default
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello!

I made many changes that I do not even remember

At least the negative temperature is now solved.

See case update_1

----------------------------------------------------------------------

The Boundaries in hotOil:

AxialEnd1

and

AxialEnd2

are defined to be patch.

Is that right or they need to be wall?

As you defined, the fluid is leaving the regin hotOil through three outlets!

I changed those to wall.

Like that the fluid is leaving just through one outlet...

See case update_2

I did not check the results...

Regards

Peter
Attached Files
File Type: zip CoolerArched_update_1.zip (24.8 KB, 8 views)
File Type: zip CoolerArched_update_2.zip (24.8 KB, 5 views)

Last edited by peterhess; December 8, 2019 at 09:14.
peterhess is offline   Reply With Quote

Old   December 9, 2019, 17:06
Default Thanks!
  #3
New Member
 
Michael
Join Date: May 2017
Posts: 12
Rep Power: 8
mbranag is on a distinguished road
Thanks so much! That really helped! I was actually leaving the axial ends open as I am modelling a segment of a circular coiled cooler. I might try changing the axial ends of the hot oil to by a symmetry planes.

Thanks!
mbranag is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 09:10
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 14:26
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 12:50
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 21:15.