Time dependent boundary conditions
- JB
- Topic Author
- Visitor
-
18 years 9 months ago #520
by JB
Time dependent boundary conditions was created by JB
I have a thermodynamic problem with a moving heat source. Can I use time dependent boundary conditions in Aster?
/JB
/JB
- Joël Cugnoni
-
- Offline
- Moderator
-
18 years 9 months ago #534
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:Time dependent boundary conditions
Yes, you can use time & space dependent boundary conditions with the AFFE_*_F operators (_F is for functions).
You need to create functions (1 parameter) (DEFI_FONCTION) or/and a data surface (called \"nappe\" = two parameters or more=a collection of functions, created by DEFI_NAPPE) to specify the evolution of the boundary conditions. You can also provide a formula to create a function with the help of CALC_FONCTION_INTERP (can generate functions and data surfaces too).
Then use it simply in the AFFE_*_F operator and that's it!
The only thing that is absolutely necessary is to know which parameters (X,Y,Z,T,Temperature, Strain etc..) can be used with each type of boundary conditions (see documentation of AFFE_*_F).
To find some examples, just do a
\"grep 'AFFE_CHAR_THER_F' /opt/aster/STA8.2/astest/*.comm\"
and it will give you all the validation tests that are using AFFE_CHAR_THER_F...
You need to create functions (1 parameter) (DEFI_FONCTION) or/and a data surface (called \"nappe\" = two parameters or more=a collection of functions, created by DEFI_NAPPE) to specify the evolution of the boundary conditions. You can also provide a formula to create a function with the help of CALC_FONCTION_INTERP (can generate functions and data surfaces too).
Then use it simply in the AFFE_*_F operator and that's it!
The only thing that is absolutely necessary is to know which parameters (X,Y,Z,T,Temperature, Strain etc..) can be used with each type of boundary conditions (see documentation of AFFE_*_F).
To find some examples, just do a
\"grep 'AFFE_CHAR_THER_F' /opt/aster/STA8.2/astest/*.comm\"
and it will give you all the validation tests that are using AFFE_CHAR_THER_F...
Joël Cugnoni - a.k.a admin
www.caelinux.com
- JB
- Topic Author
- Visitor
-
18 years 9 months ago #536
by JB
Replied by JB on topic Re:Time dependent boundary conditions
Thank you!
I will try this solution as soon I get time.
I come up with my own solution:
i used DEFI_LIST_REEL to define the time steps, named it \"INST\". Then I used \"INST\" as one of the variables in \"FORMULE\" and in THER_LINEAIRE I had to use INCREMENT-keyword where I put the INST-list. I also had to define initial conditions TEMP_INIT.
I wonder if there is any way of using if-clause or while-loops in Eficas? Becease of my boundary conditions I had to edit the comm-file in a text-editor with Python-script.
Best regards
JB
I will try this solution as soon I get time.
I come up with my own solution:
i used DEFI_LIST_REEL to define the time steps, named it \"INST\". Then I used \"INST\" as one of the variables in \"FORMULE\" and in THER_LINEAIRE I had to use INCREMENT-keyword where I put the INST-list. I also had to define initial conditions TEMP_INIT.
I wonder if there is any way of using if-clause or while-loops in Eficas? Becease of my boundary conditions I had to edit the comm-file in a text-editor with Python-script.
Best regards
JB
Moderators: catux
Time to create page: 0.170 seconds