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

How to develop new fvoptions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2019, 10:29
Default How to develop new fvoptions
  #1
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7
iconde is on a distinguished road
Hi!

I'm trying to develop a new fvOptions class such as "myNewSolidificationMeltingSource", but i'm lost with programming part and I'dont know where i should left new files (.c and .h) and how to compile it. Is there any example or guide to do it?

Thanks!
iconde is offline   Reply With Quote

Old   May 8, 2019, 16:43
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Searching at github for "public cellSetOptions" brings up several repositories doing what you want to do:



https://github.com/search?p=4&q=%22p...n%22&type=Code


e.g.


https://github.com/unicfdlab/libcompressibleTools
https://github.com/turbinesFoam/turbinesFoam
https://github.com/gaberchen/localVelocityForce
https://github.com/mrklein/mousse
jherb is offline   Reply With Quote

Old   May 9, 2019, 10:18
Default
  #3
New Member
 
Anna
Join Date: Feb 2019
Posts: 17
Rep Power: 7
iconde is on a distinguished road
Thanks! It has been really useful mainly the one about turbines.
iconde is offline   Reply With Quote

Reply


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
fvOptions limitTemperature crashing in compressibleInterFoam JM27 OpenFOAM Running, Solving & CFD 38 November 29, 2023 03:55
Can I use fvOptions to couple a solid region and a fluid region? titanchao OpenFOAM Running, Solving & CFD 4 January 14, 2022 07:55
Configuration of boundary conditions and fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 16 May 3, 2019 16:35
topoSet/setSet and fvOptions pod OpenFOAM Running, Solving & CFD 5 April 30, 2019 05:41
Power and Enthalpy in fvOptions file Raza Javed OpenFOAM Running, Solving & CFD 1 April 26, 2019 10:03


All times are GMT -4. The time now is 21:41.