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

How to modify and recompile file in src/finiteVolume/cfdTools

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2021, 03:59
Default How to modify and recompile file in src/finiteVolume/cfdTools
  #1
New Member
 
Join Date: Mar 2020
Posts: 11
Rep Power: 6
GV871 is on a distinguished road
Hello foamers,

I would like to modify the Darcy-Forcheymer model to do some simulation with porous media.
I found the source file in '/openfoam8/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer', copied the file, modified it but now I am stuck because I don't know how to recompile everything to make it work.
So the question, how much of the total OF do I have to recompile ?
Is there a quick way to make it work ?

Thank you
GV871 is offline   Reply With Quote

Old   April 10, 2021, 09:05
Default
  #2
Member
 
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 12
kera is on a distinguished road
Hello!

Have a look at this presentation (from slide 8) --> https://www.google.com/url?sa=t&rct=...sO8JbL6p280tAN

Hope this helps!

Regards,
Ricky



Quote:
Originally Posted by GV871 View Post
Hello foamers,

I would like to modify the Darcy-Forcheymer model to do some simulation with porous media.
I found the source file in '/openfoam8/src/finiteVolume/cfdTools/general/porosityModel/DarcyForchheimer', copied the file, modified it but now I am stuck because I don't know how to recompile everything to make it work.
So the question, how much of the total OF do I have to recompile ?
Is there a quick way to make it work ?

Thank you
__________________
If it is easy, then something is fishy!
kera is offline   Reply With Quote

Old   April 11, 2021, 06:52
Default
  #3
New Member
 
Join Date: Mar 2020
Posts: 11
Rep Power: 6
GV871 is on a distinguished road
Thanks !!!

Quote:
Originally Posted by kera View Post
Hello!

Have a look at this presentation (from slide 8) --> https://www.google.com/url?sa=t&rct=...sO8JbL6p280tAN

Hope this helps!

Regards,
Ricky
GV871 is offline   Reply With Quote

Reply

Tags
cfdtools, compilation, openfaom-8, porosity; fvoptions


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
Two-sided Wall Heat Transfer BC - No Separate Solid Mesh and No Heat Transfer Coeff swahono OpenFOAM Running, Solving & CFD 10 October 15, 2018 06:43
OpenFoam Recompile, successful but test is slow hpc_benchmark OpenFOAM Installation 0 January 15, 2010 22:15


All times are GMT -4. The time now is 18:56.