How to interpret this .inp file?

Hi all,

I’m currently working on writing Python code that performs the finite-element simulation from scratch using a tool called FeNiCS/dolfinx, so that I can learn more about how PrePoMax applies the loads/boundary conditions behind the scenes. This involves parsing the input .inp file myself, I just need some help understanding what some of the lines in the .inp file mean and was hoping someone in this group could help me clarify.

The boundary conditions are indicated like this:

** Boundary conditions +++++++++++++++++++++++++++++++++++++ ** *Boundary, op=New ** Name: Fixed-1 *Boundary Internal_Selection-1_Fixed-1, 1, 6, 0

I understand that “Internal_Selection-1_Fixed-1” is a node set that the boundary condition will be applied to. But I’m wondering what the “1, 6, 0” after that represents, and I couldn’t find much from Googling online – is that a range of DOFs?

I might have some follow-up questions depending on the response. I really appreciate your help in advance!

Thank you,
Mia

Yes, DOF range and then the value. Check this: Understanding Boundary Conditions - #2 by Calc_em - CalculiX (official versions are on www.calculix.de, the official GitHub repository is at https://github.com/Dhondtguido/CalculiX).

Syntax of all the CalculiX keywords is covered in its user’s manual: https://www.dhondt.de/ccx_2.22.pdf#section.7

3 Likes

Thank you very much for confirming. I’m going to figure out how to code that up. I appreciate it!

This is the best way to see all the options.