Page 9 of 11
Re: Elastic wave
Posted: 26 Apr 2017, 14:12
by Fouzi
Hi,
Yes, i try something like this :
Code: Select all
Variable Coordinate 1, Coordinate 2, Time; Real MATC "if (tx(0)==0.4375&tx(1)==-0.15&tx(2)<=0.00005)sin(2*pi*20000*tx(2));else 0;"
but it's doesn't work and double loop generate a error.
Fouzi
Re: Elastic wave
Posted: 26 Apr 2017, 14:34
by mzenker
I don't know, sorry...
Re: Elastic wave
Posted: 26 Apr 2017, 16:19
by raback
Hi Fouzi
I would strongly encourage to write a small Fortran sniplet rather than trying to make complex expressions with MATC. It is much easier to debug proper code.
-Peter
Re: Elastic wave
Posted: 26 Apr 2017, 18:44
by Fouzi
Hi peter,
Ok thank you, I have an other question please, do you know how in Gmsh can i check if there is a material inside the elastic plat box.
Fouzi
Re: Elastic wave
Posted: 26 Apr 2017, 18:50
by mzenker
Hi,
under tools->options there is a visibility tab for both geometry and mesh.
HTH,
Matthias
Re: Elastic wave
Posted: 27 Apr 2017, 10:18
by Fouzi
Hi,
Which one please, im looking for if it's A hollow or not,because may be the propagation not happen because there is no material inside the elastic plate, i want to know please whent i creat a surface and do translate==> extrude surface is it ful or hollow by default?
Thank you,
Fouzi
Re: Elastic wave
Posted: 27 Apr 2017, 12:01
by raback
Hi, if you're still using the plate solver note that it only makes sense for 2D meshes. -Peter
Re: Elastic wave
Posted: 27 Apr 2017, 15:13
by Fouzi
Hi,
Yes Peter i am using the same solver,and i make 3D meshes, is it false?.
Fouzi
Re: Elastic wave
Posted: 27 Apr 2017, 17:03
by mzenker
Fouzi wrote:
Which one please, im looking for if it's A hollow or not,because may be the propagation not happen because there is no material inside the elastic plate, i want to know please whent i creat a surface and do translate==> extrude surface is it ful or hollow by default?
You can find out if there is a volume in your geometry by using the corresponding items in the "geometry" tab. You can find out if there is a volumetric mesh by using the corresponding items in the "mesh" tab.
I have never used "extrude", so I cannot tell for your 2nd question.
Matthias
Re: Elastic wave
Posted: 27 Apr 2017, 18:36
by raback
Fouzi wrote:
Yes Peter i am using the same solver,and i make 3D meshes, is it false?.
Yes. It does not make any sense to use plate solver for 3D solids. -Peter