CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   acoupling scilab anda openfoam (https://www.cfd-online.com/Forums/openfoam-solving/187645-acoupling-scilab-anda-openfoam.html)

xirtam May 11, 2017 14:12

acoupling scilab anda openfoam
 
Does anyone know how to call openfoam in scilab?

alexeym May 11, 2017 15:58

Hi,

You have to be more specific or you get an answer:

Code:

unix_w('icoFoam')

xirtam May 11, 2017 16:12

Buddy, I'm going to create an optimization routine, and I need to run an openfoam solver with every iteration of my algorithm.

alexeym May 11, 2017 16:20

If you would like me to repeat previous answer, OK. You can read it one more time.

Though at this point it is starting to look like it is me, who is implementing "optimisation routine":

- What data is handled by Scilab?
- What data is handled by OpenFOAM?
- What is transferred to OpenFOAM? What is transferred back?

If you need ATOM, then no, there is no readily available ATOM.

xirtam May 11, 2017 16:29

What data is treated by Scilab?

Optimization of parameters in Scilab. I need to get data from opemfoam.

What data is OpenFOAM treated?

Solution of an EDP. I need the parameters calculated in Scilab.

What is transferred to OpenFOAM? What is transferred back?

Parameters are transferred to Openfoam. The EDP solution is sent back to Scilab.

alexeym May 11, 2017 16:32

OK. It seems my first answer was correct one.


All times are GMT -4. The time now is 00:41.