*Submodel with multi loadcases, input deck format, maybe not right (?)

PrePoMax V2.3.0

I’ve setup a Submodel with multiple loadcases, which exist in my Global model.

When I look at the input deck written by PrePoMax, the 2 node sets used in each loadcase get repeated?

I’m not sure this works like that according to the CCX help docs? Is this correct?

**
** Submodel ++++++++++++++++++++++++++++++++++++++++++++++++
**
*Submodel, Type=Node, Input="global_stat_R2_coups_2_cubes.frd"
cut_mZ
cut_pZ
cut_mZ
cut_pZ

I have 2 loadcases and I see the 2 node sets repeit? Since this is in the model definition section, it doesn’t make sense? Shouldn’t it be once all node sets involved in the submodel BC?

Thanks,
Jesus

You are right, the node sets should be included only once. Looking at the code, this is implemented correctly. So the reason why there are repeated nodeSet lines could be that there are multiple node sets with the same name in the model, which is also not possible.

So if possible, can you share the models?

Sure, attached. Pls ignore some bits you may see in there, I don’t use CCX, just the input deck matters.

sub_R2_coups_2_cubes.pmx (237.1 KB)

Thank you for the model. I have found the problem, which comes from using multiple steps. I have fixed the code, and the fix will be available in the next developer version.

2 Likes

:rocket: Thanks a lot, fast draw!

Can you confirm the bug is solved?

Just installed V2.4.0 and this works fine, thanks for checking in.

I’ve noticed that you now insert blank lines in the input deck, while I don’t think you did before? Is this intentional? See attached a test little model in V2.3.0 & V2.4.0. See the comparisons of input decks and where the blanks are now appearing.

v240_R2_coups_2_cubes.pmx (77.2 KB)

v230_R2_coups_2_cubes.pmx (262.5 KB)

I don’t use CCX, so I rely on the *.inp format to convert it into other solver. Just wanted to check if the input deck is meant to change in the way all commands are written.

Thanks,

Jesus

1 Like

Just realised of s’thing that now doesn’t seem to work for submodels. I’m not able to change the file for the Global results file (if there was one already assigned), it seems to always look into the installation path, no matter what I try. Not a big deal, since an easy edit in input deck; but this used to work in V2.3.0 OK.

1 Like

Also, on a new submodel from scratch, it also fails. So now (V2.4.0), we cannot set any submodel on.

Update:

I got it to work for now if I place an empty file with the wanted name for the Global model under the <install_path>/Temp folder.

1 Like

No, it is a bug. I have fixed it.

2 Likes