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

Solving heat equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2021, 17:16
Default Solving heat equation
  #1
New Member
 
Join Date: Sep 2020
Posts: 28
Rep Power: 5
Reptider is on a distinguished road
Hello!
I have some mesh created by cartesianMesh (Surface.jpg). All cells and boundary faces are filled by constant aT field. I want to heat it using this heat equation:
Code:
while (simple.correctNonOrthogonal())
{
     fvScalarMatrix TEqn
     (
          fvm::ddt(T) - fvm::laplacian(aT, T)
     );
     TEqn.solve();
}
There is fixedGradient as boundary condition.
But I get strangth results. There are 3 time steps: 0.001, 0.002 and 0.003 (TField_0.001.jpg, TField_0.002.jpg and TField_0.003.jpg respectively). We can see waves at the boundary that dissapear with increasing time step.
Why do they appear at first steps? Is heat equation solved right?
By the way, mesh has idential waves.
Surface.jpg
TField_0.001.jpg
TField_0.002.jpg
TField_0.003.jpg
Reptider is offline   Reply With Quote

Old   May 21, 2021, 12:39
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14
Tobermory will become famous soon enough
Probably a result of your mesh - it's not very clean - there are large jumps in mesh size between adjacent cells. This probably causes the perturbation ... but the perturbation is tiny - a few hundedth's of a Kelvin ... why are you worried?

If you need to get rid of the waviness, I'd suggest using a different meshing approach to improve your solution.
Tobermory 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
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 17:45
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 14:05
HeatSource BC to the whole region in chtMultiRegionHeater xsa OpenFOAM Running, Solving & CFD 3 November 7, 2016 05:07
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03


All times are GMT -4. The time now is 13:33.