CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Running OpenFOAM using a C++ master code

Register Blogs Members List Search Today's Posts Mark Forums Read

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

LinkBack Thread Tools Display Modes
Old   August 9, 2014, 06:19
Default Running OpenFOAM using a C++ master code
New Member
Saeed Salehi
Join Date: Aug 2010
Posts: 18
Rep Power: 9
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, 04:14
Join Date: May 2013
Posts: 51
Rep Power: 6
seav is on a distinguished road

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

mohsen cheraghi likes this.
seav is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
Running in parallel with a machine that doesn't have OpenFOAM aujamal20 OpenFOAM Running, Solving & CFD 1 September 14, 2013 10:08
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 15:56

All times are GMT -4. The time now is 15:30.