[GiDlist] Re: Limitation in mat file and problem when using

Moderator: GiD Team

Post Reply
Enrique Escolano

[GiDlist] Re: Limitation in mat file and problem when using

Post by Enrique Escolano »

For Example, if you define a field with 7 columns

NUMBER: 1 MATERIAL: Steel
QUESTION: Dynamic_Load_Curve(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.
QUESTION: Tolerance:
VALUE: 0.01
END MATERIAL

To print the values from the bas file, use:

*realformat "%10.3f"
*loop materials
*set var nrows=operation(MatProp(Dynamic_Load_Curve,INT)/7)
number of cols=7, number of rows=*nrows
TMIN ,TMAX, A1, A2, A3, A4, A5
*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for

*end for
*end materials

Notes:
*MatProp(Dynamic_Load_Curve,INT) return the number of total values, e.g. for 2 rows this number is 2*7=14 values
*MatProp(Dynamic_Load_Curve,*pos,REAL) return the value number "pos" (from 1 to 14), and use the real format to print it.
*\ is used to avoid the carriage return (to print the values as a table with 7 values in each row)

The table of values can be used for materials, conditions or problem data.

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: "Enrique Escolano" escolano at cimne.upc.es
Sent: Monday, September 09, 2002 10:46 AM
Subject: Re: Limitation in mat file and problem when using DEPENDENCIES


Hi Enrique
Thanks so much for your reply and advice. I'm
trying to use the Table option instead of lots of
DEPENDENCIES. Can we use the following option in any
Problemtype files ( .prb, cnd, and .mat)?

QUESTION:
Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.

My question is: how we write the .bas file out for
this option??

Regards

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020909/5ea56b24/attachment.htm
V.SAYAKOUMMANE

[GiDlist] Re: Limitation in mat file and problem when using

Post by V.SAYAKOUMMANE »

Hi Enrique
Many thanks for your immediate advice.

Best regards

--- Enrique Escolano escolano at cimne.upc.es wrote:
For Example, if you define a field with 7 columns

NUMBER: 1 MATERIAL: Steel
QUESTION:
Dynamic_Load_Curve(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.
QUESTION: Tolerance:
VALUE: 0.01
END MATERIAL

To print the values from the bas file, use:

*realformat "%10.3f"
*loop materials
*set var
nrows=operation(MatProp(Dynamic_Load_Curve,INT)/7)
number of cols=7, number of rows=*nrows
TMIN ,TMAX, A1, A2, A3, A4, A5
*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for

*end for
*end materials

Notes:
*MatProp(Dynamic_Load_Curve,INT) return the number
of total values, e.g. for 2 rows this number is
2*7=14 values
*MatProp(Dynamic_Load_Curve,*pos,REAL) return the
value number "pos" (from 1 to 14), and use the real
format to print it.
*\ is used to avoid the carriage return (to print
the values as a table with 7 values in each row)

The table of values can be used for materials,
conditions or problem data.

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: "Enrique Escolano" escolano at cimne.upc.es
Sent: Monday, September 09, 2002 10:46 AM
Subject: Re: Limitation in mat file and problem when
using DEPENDENCIES


Hi Enrique
Thanks so much for your reply and advice. I'm
trying to use the Table option instead of lots of
DEPENDENCIES. Can we use the following option in
any
Problemtype files ( .prb, cnd, and .mat)?

QUESTION:
Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.

My question is: how we write the .bas file out for
this option??

Regards

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
V.SAYAKOUMMANE

[GiDlist] More about Table Option and can't get Table fo

Post by V.SAYAKOUMMANE »

Hi Enrique
I have tried to work out as your advice. I got the
results but not the format of Table:
Using *\ at the end of the line I got only one line of
results. There are no new line to start..
For example: The expected results should be some how
as matrix [2x7] but I got [1x14]

10.0 0. 2. 52. 36.2 25.4 12.3
2.1 25.4 1.2 6.1 7.2 3.6 4.3

is there any command to control this or some
technics??

Regards
Willy
*****************************************************
--- Enrique Escolano escolano at cimne.upc.es wrote:
For Example, if you define a field with 7 columns

NUMBER: 1 MATERIAL: Steel
QUESTION:
Dynamic_Load_Curve(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.
QUESTION: Tolerance:
VALUE: 0.01
END MATERIAL

To print the values from the bas file, use:

*realformat "%10.3f"
*loop materials
*set var
nrows=operation(MatProp(Dynamic_Load_Curve,INT)/7)
number of cols=7, number of rows=*nrows
TMIN ,TMAX, A1, A2, A3, A4, A5
*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for

*end for
*end materials

Notes:
*MatProp(Dynamic_Load_Curve,INT) return the number
of total values, e.g. for 2 rows this number is
2*7=14 values
*MatProp(Dynamic_Load_Curve,*pos,REAL) return the
value number "pos" (from 1 to 14), and use the real
format to print it.
*\ is used to avoid the carriage return (to print
the values as a table with 7 values in each row)

The table of values can be used for materials,
conditions or problem data.

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: "Enrique Escolano" escolano at cimne.upc.es
Sent: Monday, September 09, 2002 10:46 AM
Subject: Re: Limitation in mat file and problem when
using DEPENDENCIES


Hi Enrique
Thanks so much for your reply and advice. I'm
trying to use the Table option instead of lots of
DEPENDENCIES. Can we use the following option in
any
Problemtype files ( .prb, cnd, and .mat)?

QUESTION:
Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.

My question is: how we write the .bas file out for
this option??

Regards

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
Enrique Escolano

[GiDlist] More about Table Option and can't get Table fo

Post by Enrique Escolano »

In my sample code, after the *end for of the inner j loop, exist a blank line
to force a carriage return at the row end (to write as a matrix [2x7])

*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for
----This is a blank line to obtain the carriage return
*end for

Enrique

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Tuesday, September 10, 2002 6:16 AM
Subject: [GiDlist] More about Table Option and can't get Table format


Hi Enrique
I have tried to work out as your advice. I got the
results but not the format of Table:
Using *\ at the end of the line I got only one line of
results. There are no new line to start..
For example: The expected results should be some how
as matrix [2x7] but I got [1x14]

10.0 0. 2. 52. 36.2 25.4 12.3
2.1 25.4 1.2 6.1 7.2 3.6 4.3

is there any command to control this or some
technics??

Regards
Willy
*****************************************************
--- Enrique Escolano escolano at cimne.upc.es wrote:
For Example, if you define a field with 7 columns

NUMBER: 1 MATERIAL: Steel
QUESTION:
Dynamic_Load_Curve(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.
QUESTION: Tolerance:
VALUE: 0.01
END MATERIAL

To print the values from the bas file, use:

*realformat "%10.3f"
*loop materials
*set var
nrows=operation(MatProp(Dynamic_Load_Curve,INT)/7)
number of cols=7, number of rows=*nrows
TMIN ,TMAX, A1, A2, A3, A4, A5
*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for

*end for
*end materials

Notes:
*MatProp(Dynamic_Load_Curve,INT) return the number
of total values, e.g. for 2 rows this number is
2*7=14 values
*MatProp(Dynamic_Load_Curve,*pos,REAL) return the
value number "pos" (from 1 to 14), and use the real
format to print it.
*\ is used to avoid the carriage return (to print
the values as a table with 7 values in each row)

The table of values can be used for materials,
conditions or problem data.

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: "Enrique Escolano" escolano at cimne.upc.es
Sent: Monday, September 09, 2002 10:46 AM
Subject: Re: Limitation in mat file and problem when
using DEPENDENCIES


Hi Enrique
Thanks so much for your reply and advice. I'm
trying to use the Table option instead of lots of
DEPENDENCIES. Can we use the following option in
any
Problemtype files ( .prb, cnd, and .mat)?

QUESTION:
Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.

My question is: how we write the .bas file out for
this option??

Regards

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020910/74b126c8/attachment.htm
VSayako Willy

[GiDlist] Comment in Bas file

Post by VSayako Willy »

Hi
Thanks a lot Enrique Sorry I didn't notice that
blank line then it's ok. It seems to me that now my
bas file is getting bigger. I would like to now that
how can we write a comment without any affecting to
the GiD commands and not written out in Data file? I'm
afraid of getting lost sometime in the future.
I tried with: \ or # but these still were written out
in Data file.

Regards.

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
Enrique Escolano

[GiDlist] Comment in Bas file

Post by Enrique Escolano »

To comment a line in the bas file, must use *# (as first character of the line)

Enrique

----- Original Message -----
From: "VSayako Willy" vilaysako at yahoo.com
To: gidlist at gatxan.cimne.upc.es
Sent: Wednesday, September 11, 2002 4:08 AM
Subject: [GiDlist] Comment in Bas file



Hi
Thanks a lot Enrique Sorry I didn't notice that
blank line then it's ok. It seems to me that now my
bas file is getting bigger. I would like to now that
how can we write a comment without any affecting to
the GiD commands and not written out in Data file? I'm
afraid of getting lost sometime in the future.
I tried with: \ or # but these still were written out
in Data file.

Regards.

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute
_______________________________________________
GiDlist mailing list
GiDlist at gid.cimne.upc.es
http://gid.cimne.upc.es/mailman/listinfo/gidlist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20020912/fca97660/attachment.htm
VSayako Willy

[GiDlist] Response to " Limitation in mat file "

Post by VSayako Willy »

Hi
Same problem like mine, before. But now I have
changed everything. Enrique has solved this for me
already. So better you use the Table option. Do not
create more than 100 fields in each Material Number.

Cheers..


--- Enrique Escolano escolano at cimne.upc.es wrote:
For Example, if you define a field with 7 columns

NUMBER: 1 MATERIAL: Steel
QUESTION:
Dynamic_Load_Curve(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.
QUESTION: Tolerance:
VALUE: 0.01
END MATERIAL

To print the values from the bas file, use:

*realformat "%10.3f"
*loop materials
*set var
nrows=operation(MatProp(Dynamic_Load_Curve,INT)/7)
number of cols=7, number of rows=*nrows
TMIN ,TMAX, A1, A2, A3, A4, A5
*for(i=0;inrows;i=i+1)
*for(j=0;j7;j=j+1)
*set var pos=operation(i*7+j+1)
*MatProp(Dynamic_Load_Curve,*pos,REAL) *\
*end for

*end for
*end materials

Notes:
*MatProp(Dynamic_Load_Curve,INT) return the number
of total values, e.g. for 2 rows this number is
2*7=14 values
*MatProp(Dynamic_Load_Curve,*pos,REAL) return the
value number "pos" (from 1 to 14), and use the real
format to print it.
*\ is used to avoid the carriage return (to print
the values as a table with 7 values in each row)

The table of values can be used for materials,
conditions or problem data.

----- Original Message -----
From: "V.SAYAKOUMMANE" vilaysako at yahoo.com
To: "Enrique Escolano" escolano at cimne.upc.es
Sent: Monday, September 09, 2002 10:46 AM
Subject: Re: Limitation in mat file and problem when
using DEPENDENCIES


Hi Enrique
Thanks so much for your reply and advice. I'm
trying to use the Table option instead of lots of
DEPENDENCIES. Can we use the following option in
any
Problemtype files ( .prb, cnd, and .mat)?

QUESTION:
Dynamic_Load_Curve:(TMIN,TMAX,A1,A2,A3,A4,A5)
VALUE: #N# 7 0. 10. 0. 0. 0. 0. 0.

My question is: how we write the .bas file out for
this option??

Regards

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
Post Reply