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

solve the equation looks like heat conduction equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2023, 08:58
Question solve the equation looks like heat conduction equation
  #1
New Member
 
zw
Join Date: Oct 2023
Posts: 1
Rep Power: 0
ythw is on a distinguished road
Hello,

I want to use OenFOAM to solve a partial differential equation,which looks like heat conduction equation. But its "thermal diffusion coefficient" is less than 0.

It is
fvm::ddt(T) - fvm::laplacian(DT, T)
==
0
But its Dt < 0.

I tried to use laplacianFoam, but the calculation failed. "Floating point exception" appears. Can someone tell me how to adjust my laplacianFoam case, or which solver I should choose?
ythw is offline   Reply With Quote

Old   October 27, 2023, 12:18
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 747
Rep Power: 14
Tobermory will become famous soon enough
Is the equation not unstable with a negative diffusion coefficient, i.e. working as intended?

Think of a simple case of 1D heat conduction in a bar with a negative heat diffusivity - any gradient would automatically try steepen instead of diffuse. So I can imagine that your solution would run away quickly, and ultimately crash.
Tobermory is offline   Reply With Quote

Reply

Tags
laplacianfoam, openfoam


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
About Heat Flux Equation in StarCCM+ manual jshu004 STAR-CCM+ 1 March 26, 2020 10:40
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Heat transfer (conduction) between two pipes shields FLUENT 14 February 3, 2016 08:45
Use advection step and Dispersion step to solve advection diffusion equation cooljd Main CFD Forum 0 October 15, 2012 16:44
error message cuteapathy CFX 14 March 20, 2012 07:45


All times are GMT -4. The time now is 00:51.