CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Implementation of diffusion term in OpenFOAM

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2020, 10:32
Default Implementation of diffusion term in OpenFOAM
New Member
Yujuan Luo
Join Date: Jul 2019
Posts: 21
Rep Power: 3
Yujuan is on a distinguished road
Hi All,

For ordinary diffusion term, like for enthalpy, the diffusion term in the equation could be like fvm::laplacian(turbulence->alphaEff(),he).

Now, I have a equation for x whose diffusion term is like a x div(a1gradx), now I use the expression of a*fvc::laplacian(a1,x) to represent this diffusion term. However, the code just crashed after one step. I'm not sure whether the expression of diffusion term would cause unstability. Could any one give some suggestions? Thanks very much.
Yujuan is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
On the diffusion term discretization on unstructured grids sbaffini Main CFD Forum 33 November 10, 2017 03:20
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin OpenFOAM Announcements from Other Sources 0 September 21, 2016 11:50
Why in Hrvoje Jasak's thesis diffusion term has "rho"? cavida OpenFOAM Programming & Development 6 February 4, 2016 07:10
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 19:21

All times are GMT -4. The time now is 11:17.