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

About usage of fvm::laplacian

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By dlahaye
  • 1 Post By Tobermory
  • 1 Post By songyi719

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   March 1, 2024, 04:28
Default About usage of fvm::laplacian
  #1
Member
 
Song Young Ik
Join Date: Apr 2022
Location: South Korea
Posts: 58
Rep Power: 4
songyi719 is on a distinguished road
I have a bit confusing part about laplacian operator of openfoam, so I am writing the thread to ask some question


https://www.openfoam.com/documentati...laplacian.html


When we look at this guide, it says fvm::laplacian can be used as not only laplacian operator, but as combination of divergence and gradient. But since they mentioned diffusion coefficient as example, I initially thought it is actually meaningless, since it is meaningless to put constant coefficient before or after the gradient operator and has no difference.


However, I was trying to modify some scalartransport code, and I found that they use fvm::laplacian(rho*D(), s_) and rho is definitely non-constant operator. In this case, is it used as div(rho*D*grad(s))or just laplacian(rho*D*s)?



Can anybody give exact description of how fvm:: functions are used?
songyi719 is offline   Reply With Quote

 

Tags
divergence, fvm, gradient, laplacian, scalartransport


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
CPUs vs GPUs for CFD? hami11 Hardware 21 May 14, 2024 08:00
Large memory usage for steady simulation Wenqiang SU2 2 May 15, 2020 13:40
[ANSYS Meshing] is my memory usage normal? Renold ANSYS Meshing & Geometry 2 April 9, 2019 14:09
New workstation for different usage scenarios - CPU and RAM natem Hardware 6 August 7, 2013 02:47
OpenFOAM Solver/BC usage description murrayjc OpenFOAM 3 August 25, 2009 04:48


All times are GMT -4. The time now is 04:22.