Creating a Calculix input from OpenVSP

212 views
Skip to first unread message

Peter Hauschild

unread,
Dec 25, 2023, 2:50:45 PM12/25/23
to OpenVSP
Hi!
I'm trying to create a FEM structural simulation for my aerodynamic model, but after running Calculix, CGX cannot open the results file.

This is my method to create the files through CMD.
-Generating the calculix input and DegenGeom file.
-Running VSPAero: c:\*location of vspaero* -omp 4 c:\*location of degengeom*
-Running VSPLoads: c:\*location of vsploads* -interp c:\ *location of degengeom* c:\*location of calculix* -dynp 1
-Running CCX to solve: c:\*ccx path* c:\*location of calculix*
-Running CCX to solve static: c:\*ccx path* c:\*location of calculix static*

This is what i was able to do by looking at the cmd results of OpenVSP. Every operation of the commands are working, so the paths to the files should be good. When i run the CCX solver, it even solves something, but when i try to look at the results with CGX, the solver can not open the .frd. results. 

If somebody could tell me, how to do a Calculix simulation, i would be very greatful.

Also I'd like to wish everybody Merry Christmas!

cean wang

unread,
Dec 25, 2023, 9:41:26 PM12/25/23
to 'Miroslav Grulovic' via OpenVSP
It works with panel method only, I think.

--
You received this message because you are subscribed to the Google Groups "OpenVSP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openvsp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openvsp/50ea2422-3e63-4781-aeb4-98210d0a9b07n%40googlegroups.com.

Peter Hauschild

unread,
Dec 26, 2023, 9:36:12 AM12/26/23
to OpenVSP
I made a test, where the aerodynamic solution is from the built in panel solver, not the CMD line, but it still has the error. It is the following.

on a Windows 10 machine, nodename XXXXX, release 10, version 10.0  22621, machine 8664  (i use win 11, so it is strange to me it shows win 10)
 The win HOME was detected:C:\Users\xxxxx
parameters:2 arguments:1
GL_MAX_EVAL_ORDER:32, mesh threads:1
 Try to read ccx results
ERROR in readfrd: The input file "C:\*file_loc*\test_WingGeom_Struct0_calculix.static" could not be opened.

To run CGX i use,
C:\\ *file_loc* \\CalculiX\\cgx\\cgx.exe C:\ *file_loc* \test_WingGeom_Struct0_calculix


At this point, i'm wondering if it is possible to run a aerostructural simulation on a Windows PC with OpenVSP and Calculix...

cean wang

unread,
Dec 26, 2023, 7:37:32 PM12/26/23
to 'Miroslav Grulovic' via OpenVSP
It is a bit confusing if you are using the GUI or not. A screen shot is more clear. 
if using GUI, it can not solve with ccx, wrong input file name. But then everything is ready for ccx. So just run ccx in a CMD window. Same as cgx. 

Peter Hauschild

unread,
Dec 27, 2023, 6:14:41 AM12/27/23
to OpenVSP
Sorry, if my explanation was confusing. For my main purpose i do not use the OpenVSP GUI, everything is running through CMD.
I tried a simple FEA simulation with panel method and VLM and both had the same error as i mentioned previously. When i run the ccx, it looks like it is working, but when i execute the cgx on the .frd results file it has an error.
If i try to open the generated FEA file with CGX, i also had the same error.
I'm using the bconverged version, with the static version of both cgx and ccx.

cean wang

unread,
Dec 27, 2023, 6:37:03 PM12/27/23
to 'Miroslav Grulovic' via OpenVSP
Finally understand what you are saying. A screenshot is more easy to see what you run and what you got.

It is a cgs problem. You need to specify the full name of your frd file, include the frd extension name.

Peter Hauschild

unread,
Dec 29, 2023, 11:06:55 AM12/29/23
to OpenVSP
Thank you, that was the problem. I just assumed i do not need the extension, as most of the ccx command do not require it.

Do you know, how to extract the some descrete point's displacement? I'm trying to apply the displacement from a calculix to a new geometry.
Reply all
Reply to author
Forward
0 new messages