Error *END STEP while importing .inp file

I am currently using PreProMax_v2.3.0 to visualize some .inp files set by CGX and encounter the same error, described as the title, so I am reporting it using one .inp file for example.
The .inp file and its include files have been zipped and shared through the link perpendicular-flap.zip. I think it a bug because

*END STEP

looks so normal. Thank you for your advice~

As explained in previous threads (including this recent one: Error and definition lost when import "inp" file that exported by PrePoMax - #4 by Matej), the .inp file importer is not up-to-date and stays behind the exporter. In this case, the problem is occuring likely because you have a dynamic step defined and support for dynamic analyses was added not so long ago.

I have added support for *DYNAMIC in InpFileReader.cs

                    else if (keyword == "*DYNAMIC") step = GetDynamicStep(dataSet);
                    else if (keyword == "*FREQUENCY") step = GetFrequencyStep(dataSet);

GetDynamicStep function is:

        private static DynamicStep GetDynamicStep(string[] dataSet)
        {
            string[] record1 = dataSet[0].Split(_splitterComma, StringSplitOptions.RemoveEmptyEntries);
            string[] record2;
            DynamicStep DynamicStep = new DynamicStep("Dynamic");
            //*DYNAMIC, ALPHA=0.0, DIRECT
            //1.E - 2, 5.0
            for (int i = 1; i < record1.Length; i++)
            {
                record2 = record1[i].Split(_splitterEqual, StringSplitOptions.RemoveEmptyEntries);
                if (record2.Length == 2)
                {
                    if (record2[0].Trim().ToUpper() == "ALPHA")
                    { 
                        DynamicStep.Alpha = double.Parse(record2[1]);
                    }
                }
                else if (record2.Length == 1)
                {
                    if (record2[0].Trim().ToUpper() == "DIRECT") DynamicStep.Direct = true;
                }
            }
            if (dataSet.Length == 2)
            {
                record2 = dataSet[1].Split(_splitterComma, StringSplitOptions.RemoveEmptyEntries);
                //
                if (record2.Length > 0)
                {
                    DynamicStep.InitialTimeIncrement = double.Parse(record2[0]);
                    DynamicStep.TimePeriod = double.Parse(record2[1]);
                }
            }
            //
            return DynamicStep;
        }

The Nall is changed?

The Nall is a Calculix built in node set for all nodes. This node set does not exist in PrePoMax.

Does PPM generates a Disp BC for any node set? Need to avoid generating one for Nall.

Nall could be ignored, but shouldn’t be changed to NFIX1.

I do not understand the last two comments.

Thank you for your help. I will try it

Nall is set in all.msh, and not changed to Nfix1. I also ran into such problem.

From This msg. Change to captial is understandable, but to a different name is weird.

Using ppm compiled from the original source code didn’t raise such error. It only failed to recognize Nall and set that BC though.

Only when you double click the red disp-2 BC. This BC should not be created.

I have added support for dynamic step and for node sets defined with *Node keyword. The .inp file you shared can be imported now with no errors.

I will close this topic.

1 Like