|
[Sponsors] |
May 19, 2021, 17:16 |
Solving heat equation
|
#1 |
New Member
Join Date: Sep 2020
Posts: 28
Rep Power: 5 |
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(); } 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 |
|
May 21, 2021, 12:39 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 668
Rep Power: 14 |
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. |
|
|
|
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 |