hexagon logo

I'm trying to use a PolyUMod model (TNV) into Marc Mentat 2024, I followed the steps showed in the PolymerFem Tutorial but Marc shows me the Error 13.

I'm trying to use a PolyUMod model (TNV) into Marc Mentat 2024, I followed the steps showed in the PolymerFem Tutorial (How to Use a PolyUMod Material Model in MSC Mentat) but Marc shows me the Error 13.

Here's my TNV model file text:

ModeloTNV1.dat

Here's my Marc Input file with the model attached by the Job settings -> Input File text button.

sim.dat

And here's the code i'm using to run the simulation:

@echo off
echo ** Run MARC
CALL "C:\Program Files\MSC.Software\Marc\2024.1.0\marc2024.1\tools\run_marc.bat" ^
-jid sim.dat ^
-back no ^
-prog "C:\Program Files\PolymerFEM\PolyUMod\PolyUMod_Marc\Marc_PolyUMod"
echo ** Done
pause

I'm very sure the files locations are correct. The settings are all copied from the video so I don't think so they are incorrect. My main suspicion are the units from the model and the marc input file but not sure.

Hope you can help me please. 

Regards,

Sebastian Leon 

  • Hello Sebastian Leon,

    If you're getting Error 13 in Marc Mentat 2024 while using a PolyUMod model, it usually points to issues with units, missing data, or setup problems.

    First, make sure the units in your model file (ModeloTNV1.dat) match those in your input file (sim.dat).

    Also, check that the PolyUMod library is correctly linked in your command line script, and that your environment is properly configured with the right compilers and variables.

    In this case, the material definition is missing density. Additionally, the sim.dat file also missing input file text.

    Reviewing the .log and .out files can provide more specific clues about what’s going wrong. If you're using custom subroutines, make sure they’re compiled and linked properly.

    I hope this will help you.

    Regards,

    Amol Kumbhar

  • Hello Sebastian Leon,

    The unit for length should be in meters, and mass density must be in kg/m³. Please ensure that all units in your model are consistent throughout.

    It also looks like the user subroutine setup might be missing. Kindly verify that your system is properly configured with the required compilers.

    I was able to run your simulation successfully—here’s a snapshot of the result.

    I hope this will help you.

    Regards,

    Amol Kumbhar