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

Running OpenFOAM using a C++ master code

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By salehi144
  • 1 Post By seav

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2014, 07:19
Default Running OpenFOAM using a C++ master code
  #1
New Member
 
Saeed Salehi
Join Date: Aug 2010
Posts: 27
Rep Power: 16
salehi144 is on a distinguished road
Dear Foamers,

I want to do an optimization problem with OF. So I want to run OpneFOAM with a C++ master code. I have done this kind of problems using coupling of MATLAB and Fluent a lot. But I really dont know how to this with C++. Actually what I need is how to call a linux executable command or a batch file in C++ and force C++ to wait until it finishes.

Is there anybody who can help me?

Best Regards,
mohsen cheraghi likes this.
salehi144 is offline   Reply With Quote

Old   August 10, 2014, 05:14
Default
  #2
Member
 
Join Date: May 2013
Posts: 51
Rep Power: 13
seav is on a distinguished road
Hello.

You can check this forum for answers in programmer's issue. I bet there is something similar to you problem. Dig it

Cheers
mohsen cheraghi likes this.
seav 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
Difficulty running an inviscid compressible nozzle flow using OpenFOAM rbozinoski OpenFOAM Running, Solving & CFD 11 December 29, 2015 08:19
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Running in parallel with a machine that doesn't have OpenFOAM aujamal20 OpenFOAM Running, Solving & CFD 1 September 14, 2013 11:08
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56


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