Help on cylindrical BCs
- Ashraf
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 8 months ago #4631
by Ashraf
Help on cylindrical BCs was created by Ashraf
Hello all
First of all i want to thank Mr Kees for providing a good tutorial on Cylindrical BCs. I was trying to apply this boundary condition to my problem. Actually in the tutorial all the nodes have been applied to this condition but i just want to apply this condition to a edge. When i edited and tried using the syntaxes given in the tutorial i got a syntax error.I don't have a good knowledge of Python hence i guess i am not able to include this. Could anyone help me out on how to apply this condition on a edge. Thanking you in advance.
Regards
Ashraf<br /><br />Post edited by: Ashraf, at: 2010/08/31 15:35
First of all i want to thank Mr Kees for providing a good tutorial on Cylindrical BCs. I was trying to apply this boundary condition to my problem. Actually in the tutorial all the nodes have been applied to this condition but i just want to apply this condition to a edge. When i edited and tried using the syntaxes given in the tutorial i got a syntax error.I don't have a good knowledge of Python hence i guess i am not able to include this. Could anyone help me out on how to apply this condition on a edge. Thanking you in advance.
Regards
Ashraf<br /><br />Post edited by: Ashraf, at: 2010/08/31 15:35
- Ashraf
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 8 months ago #4632
by Ashraf
Replied by Ashraf on topic Re:Help on cylindrical BCs
Attachment plate-d23512c2d86d7598758842e2d3d4b3c9.gz not found
- kwou
-
- Offline
- Moderator
-
14 years 8 months ago #4642
by kwou
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
Replied by kwou on topic Re:Help on cylindrical BCs
Hoi Ashraf
first of all: you need to copy the ''result'' of the python script into the command file, not the script itself. [This is because the script runs in Salome, not in Code Aster.]
You have a circular plate. You want to add cylindrical boundary conditions to it on the outer edge, right? [Note that this can be done but then you will have a rotating shell in your system with rigid body movements, so it is not quite clear to me which you movement really want to restrict.]
You can select all the nodes on the outer edges and then apply the bc to it. I can help, but it is much easier if you upload the hdf file as well; not only the med file.
You need to create something along the following line:
cylco2=AFFE_CHAR_MECA(MODELE=model,
LIAISON_DDL =
_F(NOEUD=('N1','N1'),DDL=('DX','DY'),COEF_MULT=(1.0,0.0),COEF_IMPO=0.00),
_F(NOEUD=('N26','N26'),DDL=('DX','DY'),COEF_MULT=( 0.0, 1.0 ),COEF_IMPO=0.00),),)
since
node 1 has coordinates [x;y] = [1.0;0.0]
node 26 has coordinates [x;y] = [0.0;1.0]
The python script does just that: writing this out for you.
It just repeats this for all the nodes on the edge.
kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/08/31 22:57
first of all: you need to copy the ''result'' of the python script into the command file, not the script itself. [This is because the script runs in Salome, not in Code Aster.]
You have a circular plate. You want to add cylindrical boundary conditions to it on the outer edge, right? [Note that this can be done but then you will have a rotating shell in your system with rigid body movements, so it is not quite clear to me which you movement really want to restrict.]
You can select all the nodes on the outer edges and then apply the bc to it. I can help, but it is much easier if you upload the hdf file as well; not only the med file.
You need to create something along the following line:
cylco2=AFFE_CHAR_MECA(MODELE=model,
LIAISON_DDL =
_F(NOEUD=('N1','N1'),DDL=('DX','DY'),COEF_MULT=(1.0,0.0),COEF_IMPO=0.00),
_F(NOEUD=('N26','N26'),DDL=('DX','DY'),COEF_MULT=( 0.0, 1.0 ),COEF_IMPO=0.00),),)
since
node 1 has coordinates [x;y] = [1.0;0.0]
node 26 has coordinates [x;y] = [0.0;1.0]
The python script does just that: writing this out for you.
It just repeats this for all the nodes on the edge.
kind regards - kees<br /><br />Post edited by: Kees Wouters, at: 2010/08/31 22:57
Interest: structural mechanics, solar energy (picture at 'my location' shows too little pv panels)
--
kind regards - kees
- Ashraf
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
14 years 8 months ago #4648
by Ashraf
Replied by Ashraf on topic Re:Help on cylindrical BCs
Hello Kees
Thank you for your quick reply. Yes i just want to apply SS boundary condition for this circular plate. i.e i need to restrict its translation and allowing rotation => Dx=Dy=Dz=0. But since its a circular plate applying this condition in cartesian system is not the same as in cylindrical system. because in cylindrical system we need to put U=V=W=0. This is my understanding but if i am wrong please explain me?
I had mistaken about your procedure. Could you show me an example as how do you run this script in salome. I will post my .hdf file. Also i wanted to extend this Boundary condition to a cylinder too.So thought of first learning for a plate and to then apply it to other model.Thank you for you kind advices.
Regards
Ashraf
Thank you for your quick reply. Yes i just want to apply SS boundary condition for this circular plate. i.e i need to restrict its translation and allowing rotation => Dx=Dy=Dz=0. But since its a circular plate applying this condition in cartesian system is not the same as in cylindrical system. because in cylindrical system we need to put U=V=W=0. This is my understanding but if i am wrong please explain me?
I had mistaken about your procedure. Could you show me an example as how do you run this script in salome. I will post my .hdf file. Also i wanted to extend this Boundary condition to a cylinder too.So thought of first learning for a plate and to then apply it to other model.Thank you for you kind advices.
Regards
Ashraf
Attachment plate-a0d6a55d6a8a48e5b8bcb0ba705d69fc.gz not found
- JMB
- Offline
- Elite Member
-
Less
More
- Posts: 166
- Thank you received: 0
14 years 8 months ago #4661
by JMB
Replied by JMB on topic Re:Help on cylindrical BCs
Deleted!<br /><br />Post edited by: JMB, at: 2010/09/02 03:16
Moderators: catux
Time to create page: 0.122 seconds