Ilias Soultanias
-
Content Count
2 -
Joined
-
Last visited
Posts posted by Ilias Soultanias
-
-
Hi Steven and Nozaki
an alternative to "getParameterShortestDistanceSquared" command is the ft() command.
it gives you the parameter value of the curve at a specific coordinate with regard to a certain axis (0-x,1-y,2-z)
to get it you can type
curve.ft(1, point.getY())
assign it to a parameter and you get the t parameter of the "curve" at the Y coordinate of the "point"
OpenFOAM and CAESES connection configured in Windows
in Software Connections
Posted · Report reply
Hi All,
Recently I wanted to investigate the use of OpenFOAM for CFD calculations for a model built in CAESES and perform an optimization at a later stage. Although the OpenFOAM is a C++ library meant to be run in Linux systems, I wanted to test the configuration on my Windows pc and I found this compiled OpenFOAM 2.3 version available. After installing the software as instructed I had to change a little bit the configuration of the software connector in CAESES.
Basically, I called the mintty.exe terminal application and run a modified version of the Allrun.sh shell script, as demonstrated at the ahmed body sample. You can find attached a picture of the LocalApplication and its arguments, the modified shell script Allrun.sh and the modified project file of the Ahmed Body sample provided with CAESES installation.
Please notice that I have configured the OpenFOAM calculation to run on a single processor and deactivated any parallel computing, because of my restricted resources, but you could easily restore that back. I had also to change some points in the RunFunctions file located in /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools and you can find attached this new file too.
If you are interested in learning how to manipulate OpenFOAM or try some simple simulations on your windows machine, you can give it a try.
Cheers,
Ilias.
ahmedbody.fdbc
Allrun.zip