Elastic wave

The graphical user interface of Elmer
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elastic wave

Post by mzenker »

Solver specific options, as always... ;)
Fouzi
Posts: 55
Joined: 14 Mar 2017, 18:03
Antispam: Yes

Re: Elastic wave

Post by Fouzi »

Excuse me for all this basic question, but in with section in "comment" or "polyline coordinate".


Fouzi
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elastic wave

Post by mzenker »

Look into the Models Manual. You will find most of the keywords for the solver of your choice in the tab "solver specific options" under Model->Equation->Equation 1->Solver Tab->Edit Solver Settings.
BTW there is also a manual for ElmerGUI and worked tutorials with ElmerGUI.

HTH,

Matthias
Fouzi
Posts: 55
Joined: 14 Mar 2017, 18:03
Antispam: Yes

Re: Elastic wave

Post by Fouzi »

Hi Peter, Matthias,

I realy need help,

I need to generate body force in one position in the plate and rcieve the signal in an other posistion, i don't how to write the signal for this with matc (sinusoidal pulse Weighted by a window), i bring the Time variable and x,y coordinate:

Code: Select all

Deflection 1 = Variable Coordinate 1, Coordinate 2, Time; MATC"sin......?????."
Thank you

Fouzi
annier
Posts: 1168
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Elastic wave

Post by annier »

Hi Fouzi,
There is Elmer MATC manual in guiding how to describe basic mathematical, matrix, algebraic and trigonometric expressions : http://www.nic.funet.fi/pub/sci/physics ... Manual.pdf
I have not read the earlier posts, but i will write (deflection = sin (t/xy) ) as:
1. Define the coordinate 1, coordinate 2 and time as tx(0), tx(1) and tx(2) respectively in MATC expressions
2. Write the MATC expression in sif

Code: Select all

displacement 1 = Variable Coordinate 1, Coordinate 2, Time
  Real  MATC "sin (tx(2)/(tx(0)*tx(1)))"
or,

Code: Select all

displacement 1 = Variable Coordinate 1, Coordinate 2, Time;  Real  MATC "sin (tx(2)/(tx(0)*tx(1)))"

The semi-colon you are writing there is used to separate lines in Elmer MATCcoding if your are going to write all the codes in single line but meant to operate in different lines.

Yours Sincerely
Anil Kunwar
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Fouzi
Posts: 55
Joined: 14 Mar 2017, 18:03
Antispam: Yes

Re: Elastic wave

Post by Fouzi »

Hi Anil,

I have to generate sinusoidal pulse Weighted by a window in one point and all the rest is zeros.


Best,
Fouzi
Fouzi
Posts: 55
Joined: 14 Mar 2017, 18:03
Antispam: Yes

Re: Elastic wave

Post by Fouzi »

force.PNG
force.PNG (6.5 KiB) Viewed 4710 times
Hi,

i finaly get this : (see picture)

my question now is how to limite time to 0.2µs
as i know that 1 iteration ==> 10s of simulation (is it true)


Best,
Fouzi
Attachments
Solide_bodyforce2.PNG
(30.67 KiB) Not downloaded yet
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elastic wave

Post by mzenker »

Hi,

the time of one iteration depends on the simulation.
If you want to limit the time, you have to set your timestepping accordingly.

HTH,

Matthias
Fouzi
Posts: 55
Joined: 14 Mar 2017, 18:03
Antispam: Yes

Re: Elastic wave

Post by Fouzi »

Hi Matthias, i want a simulation of 40ms, and i will have a pulse of 2µs so a setting like this: Simulation type Transient, Timestep interval= 20000, Timestep size= 2e-6, is it correcte?

Thank you,

Fouzi
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elastic wave

Post by mzenker »

Well, since 20000 * 2e-6 = 40e-3, it seems to be correct... ;)

Matthias
Post Reply