|
[Sponsors] |
How to execute an utility inside the code of a modify solver? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 12, 2013, 18:08 |
How to execute an utility inside the code of a modify solver?
|
#1 |
New Member
Juan Felipe Monsalvo Salazar
Join Date: Apr 2013
Location: Medellín / Colombia
Posts: 4
Rep Power: 13 |
Hello everybody
I'm a kind of new in all this subject of posting in internet, so i excuse for advanced if i made some mistake in my way of asking... I'm modifying an solvers and i would like to execute an utility(modifyMesh) in each iteration of the solver icoFoam. Somebody know how i must to call this utility inside the code of the solver? Thank very much Juan Felipe |
|
July 12, 2013, 19:17 |
|
#2 |
New Member
Juan Felipe Monsalvo Salazar
Join Date: Apr 2013
Location: Medellín / Colombia
Posts: 4
Rep Power: 13 |
i think i find a solution... only i have to put
system ("utilityHERE"); in the code |
|
July 13, 2013, 14:01 |
|
#3 |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
I don't think this is the best solution, because this is a system call, so you would need to reload the mesh into the memory and such kind of things. Why not just copy the corresponding source code into your solver?
|
|
Tags |
openfoam, programming, solver, utility |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to modify psi value from the solver level (based on reactingFoam)? | xinyu | OpenFOAM Programming & Development | 1 | March 31, 2017 00:33 |
solver return code 1 and 3840 | nicemarx | ANSYS | 0 | January 19, 2013 10:42 |
setFields.C within solver code | newOFuser | OpenFOAM | 3 | April 9, 2012 11:15 |
Modify pointDisplacement field from within solver? | nowhere | OpenFOAM Programming & Development | 2 | October 13, 2011 14:53 |
I'm looking for a flow solver (source code) | Steve Collie | Main CFD Forum | 2 | January 26, 2001 13:24 |