Hello eveyone。I need to import a .inp
file generated by PrePoMax into the CalculiX graphical interface (CGX) for some reasons. When I try to import it, I receive the following error message: “only free-format is supported, fixed format might cause a prg-crash.” Is there any way to solve this issue?
Might be better to ask on the CalculiX forum: https://calculix.discourse.group/
You will find more GraphiX users there.
Isn’t that just a warning or does it actually prevent import ? Fixed format dates back to Fortran 77 and older and means that specific columns have to be used for different pieces of code. Free format (Fortran 90 and above) doesn’t have such strict requirements. CalculiX is written in Fortran and I guess that’s why you see this but it might be a standard message. I don’t think it can be related to .inp files themselves in any way.
okay,thank you for your advice
Does ppm has an option to output free format? It is more easy than fixed format.
If cgx only can deals with free format, it is more hard to add fix format support.
What would be the difference when it comes to .inp files ? I don’t think there are different formats available for them.
Maybe he should provides an example file to see what it means.
I haven’t find such a feature in ppx2.0.0 and 2.1.2dev
I’m sorry, But I’m new to this community who don’t have the permission to upload files directly and unfortunately, I am unable to upload the file directly. As you may know, my IP is located in China, where access to services like Google Drive is restricted. Therefore, I would like to ask if it’s permissible for me to upload my INP file to GitHub and share the link here instead. I want to ensure that this action complies with the community’s rules and guidelines.
Now you should be able to upload directly here. Otherwise, there should be some hosting websites available for you. Maybe WeTransfer ?
sorry I still can‘t ,there have been no upload progress for 5 minutes; it’s still at 0%.I think there might be something worng with my network。I’ll try that work using my company’s network in twelve hours;
There is only one format for .inp files in PrePoMax. It is a free format. So maybe an error is something else. Try removing keywords to see which keyword is causing problems.
Apologies everyone, I only had the chance to verify this issue today. Matej was correct. In fact, the error message regarding the free format was misleading; the issue was not related to the free format at all. The CalculiX community provided a similar response. The solution to the problem is to adjust the writing of the step section in the input deck.
Your file is generated by PrePoMax. It’s good you tell what’s wrong with it.what change is needed.
I plan to use CalculiX and OpenFOAM with preCICE to achieve fluid-structure interaction (FSI) simulations. This process requires using cgx to export points and NEST as .msh and .nam files, while in the .inp file, I only keep references to the points and NEST, along with content such as material properties, boundary conditions, forces, and outputs. For this issue, my solution was to delete the “step1” line, after which the import was successful.