How to execute an utility inside the code of a modify solver?
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 |
i think i find a solution... only i have to put
system ("utilityHERE"); in the code |
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?
|
All times are GMT -4. The time now is 14:53. |