readGeneralQuantity

Multiphysics Modeling - Thermal, Aging, ASR, Creep and more.

readGeneralQuantity

Postby rwendner » Mon Jul 18, 2016 7:16 pm

In the diffusion input files we use e.g. readGeneralQuantity("Time[-1]");
Unfortunately, this does not work directly for stresses.
It would be useful if we could provide compliance values in the input files using MPa[-1]
with
q1 = rdr->readGeneralQuantity("Stress[-1]");
instead of N[-1]mm[2]
q1 = rdr->readGeneralQuantity("Force[-1]Length[2]");
rwendner
 
Posts: 154
Joined: Wed Jul 15, 2015 4:35 pm

Re: readGeneralQuantity

Postby zhouxinwei » Mon Jul 18, 2016 7:36 pm

Use
Code: Select all
q1 = rdr->readGeneralQuantity("Pressure[-1]");

In the next release, we will update MARS to treat stress and pressure in the same way.
zhouxinwei
 
Posts: 208
Joined: Thu Jul 09, 2015 7:12 pm

Re: readGeneralQuantity

Postby zhouxinwei » Tue Jul 19, 2016 4:36 am

Update: since version 2016.7.38, either Pressure or Stress can be used.
zhouxinwei
 
Posts: 208
Joined: Thu Jul 09, 2015 7:12 pm


Return to Multiphysics LDPM (M-LDPM)

Who is online

Users browsing this forum: No registered users and 1 guest

cron