Local axes in Boundary Conditions

Moderator: GiD Team

Post Reply
jdopazo
Posts: 7
Joined: Sun Jun 07, 2015 3:41 pm

Local axes in Boundary Conditions

Post 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
User avatar
escolano
Posts: 1921
Joined: Sun Sep 05, 1982 10:51 pm

Re: Local axes in Boundary Conditions

Post 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
User avatar
escolano
Posts: 1921
Joined: Sun Sep 05, 1982 10:51 pm

Re: Local axes in Boundary Conditions

Post 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)
jdopazo
Posts: 7
Joined: Sun Jun 07, 2015 3:41 pm

Re: Local axes in Boundary Conditions

Post by jdopazo »

How can I mark a face of element with the condition with -Local- value
Post Reply