Page 1 of 1

Local axes in Boundary Conditions

Posted: Fri Apr 29, 2016 3:48 pm
by jdopazo
I am trying that a local axe in boundary condition was "Automatic Axes" between two possibilities, Global and Automatic axes. So I write in file.cnd this:

CONDITION: Stress-Load

CONDTYPE: over surfaces

CONDMESHTYPE: over face elements


TITLE: Stress-Load


QUESTION: Local-Axes:#LA#( -Global-, -Local-)

VALUE: -Local-


QUESTION: X-Stress (MPa)

VALUE: -50.0

HELP:Stress on the node along local X axis

QUESTION: Y-Stress (MPa)

VALUE: 0.0

HELP:Stress on the node along local Y axis


END CONDITION

However, it is writing in the file.dat:

2 " -Global-" -50.0 0.0 0.0

It is impossible to get that "-Local-" appears in file.dat

Re: Local axes in Boundary Conditions

Posted: Fri Apr 29, 2016 8:12 pm
by escolano
In your example there are extra spaces in 'question' fields, and this is not allowed (must be a single word, could use _ to emulate spaces visually)

Instead of
QUESTION: Local-Axes:#LA#( -Global-, -Local-)
must be
QUESTION: Local-Axes#LA#(-Global-,-Local-)

Maybe it was the cause of your problem
(I tested a case with a condition over lines, without spaces, and it has written well in the .bas file)

Or maybe in your model you don't have any face of volume element marked with the condition with -Local- value

Re: Local axes in Boundary Conditions

Posted: Fri Apr 29, 2016 8:55 pm
by escolano
And also remove spaces of other questions like

QUESTION: X-Stress (MPa)
could use:
QUESTION: X-Stress(MPa)
or
QUESTION: X-Stress_(MPa)

Re: Local axes in Boundary Conditions

Posted: Wed May 04, 2016 4:09 pm
by jdopazo
How can I mark a face of element with the condition with -Local- value