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

Add compiler option #define (-Dxxx) in Make/options

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2021, 02:27
Default Add compiler option #define (-Dxxx) in Make/options
  #1
New Member
 
Hf
Join Date: Nov 2012
Posts: 27
Rep Power: 13
jasonchen is on a distinguished road
Hello Foamers,

I'm trying to couple OpenFOAM with a third-party code. The third-party code itself can be compiled on Mac OSX, Linux, or Windows, depending on the compiler command line options (-Dxxx). With OpenFOAM's wmake, is there a way I can add #define (-Dxxx) in the Make/options file? Or do I need to change some of the rules in OpenFOAM' wmake directory?

Thank you,
Jason
jasonchen 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
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 16, 2020 23:44
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Problem with an old Simulation FrankW CFX 3 February 8, 2016 04:28
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20


All times are GMT -4. The time now is 01:29.