×

Notice

The forum is in read only mode.

Introduce data table

  • Teresa Sánchez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 9 months ago #1383 by Teresa Sánchez
Introduce data table was created by Teresa Sánchez
Hello everybody,

I am trying to simulate a 2d thermo-mechanical problem with Code-Aster. I would like to introduce the heat source in the domain by using a data table. I don't have a constant or function-defined heat trasnfer. The data table depends on the X coordinate.

Is this possible in Code-Aster?

Thanks!!!!

Regards,

Tere.
More
17 years 9 months ago #1390 by Joël Cugnoni
Replied by Joël Cugnoni on topic Re:Introduce data table
If you only have discrete values, which are only function of a single coordinate, you should define a \"function\" object:

in Code-Aster, a \"function\" is a discrete-value table that will be interpolated.
(compared to a \"formula\" object which is an analytical expression)

Use Defi_Fonction to define this table.
The function parameter will be \"X\" in your case and you will need to enter several pairs of (parameter,value) in the VALE keyword to define your data table.

For example, VALE= ( (0,0), (1,10), (2,0) ) corresponds to the this table :

X ; Value
0 ; 0
1 ; 10
2 ; 0

I hope that this will help you to solve the problem.

PS: if you have 2 parameters in you table, you may then use a \"nappe\" = 2D interpolated function created with the Defi_Nappe command.

Joël Cugnoni - a.k.a admin
www.caelinux.com
  • Teresa Sánchez
  • Topic Author
  • Offline
  • New Member
  • New Member
More
17 years 9 months ago #1391 by Teresa Sánchez
Replied by Teresa Sánchez on topic Re:Introduce data table
Thank you very much :laugh:

This is what I am looking for. Now, I am going to try to define the Joule effect using the DEFI_FONCTION option. As you have said, I only have discrete values depending in the coordinate X.

Again, thank you very much for the help.

Regards,

Tere.
Moderators: catux
Time to create page: 0.224 seconds
Powered by Kunena Forum