Search found 57 matches

by panosvar
Yesterday, 19:32
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

My bad, I posted an old block of code, indeed I pass only the x(1)'s in my code. So, this is correct I think. The thing that I'm not sure though, is how I input the phases in the pressure equation. It just doesn't make sense that my simulation is ok for zero phases and phases that create a pressure ...
by panosvar
17 Jan 2020, 13:47
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

Another thing I'm curious to know is why my results for a specific set of phases, that create a pressure focus in the center between the arrays of transducers, match Comsol pretty well (see img '40kHz_center.png'). Same happens if I put zero phase to all transducers (see '40kHz_zero_phase.png'). How...
by panosvar
16 Jan 2020, 15:44
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

My system definitely doesn't converge for 40kHz with ILUn, only with ILUT. And when it does, most solutions I get are completely different than the ones I get from Comsol and Matlab. So, I'm wondering if there are any mistakes in my code or I just can't deal with the fact that conditioners in Elmer ...
by panosvar
16 Jan 2020, 13:47
Forum: Installation & compilation
Topic: install MUMPS solver (Windows)
Replies: 1
Views: 2081

Re: install MUMPS solver (Windows)

I'm interested in this one too. Anyone here knows how to do this?
by panosvar
16 Jan 2020, 13:46
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

The standard iterative solvers for the Helmholtz problem at a high wavenumber are generally known to be ineffective unless a special preconditioner is devised. Perhaps the Comsol result was based on a direct solver. You might also try the same approach and use a direct (MUMPS) solver, if installed,...
by panosvar
15 Jan 2020, 17:26
Forum: General
Topic: Specify screenshot boundaries in ParaView
Replies: 4
Views: 47

Re: Specify screenshot boundaries in ParaView

I'm aware of that. However, I want this to be fully automated with python scripts, as I did with the other steps in my pipeline: geometry and mesh is created in SALOME with a py script, and in the same way the sif file is created and is executed with a py script that opens the terminal and calls for...
by panosvar
15 Jan 2020, 16:27
Forum: General
Topic: Specify screenshot boundaries in ParaView
Replies: 4
Views: 47

Specify screenshot boundaries in ParaView

Hi, I've created a simple pipeline where I create geometry and mesh in Salome, then use Elmer to simulate the pressure field, and finally visualize the field in ParaView. Then, I can take a screenshot of this field, however ParaView doesn't let you specify the exact boundaries of the area that the s...
by panosvar
15 Jan 2020, 15:20
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

Hi mika,

By 'pressure wave 1' and 'pressure wave 2' I mostly mean Real and Imaginary part of pressure, so then I can visualize different things like absolute value etc. So then, what does 'pressure wave' represent in the .vtu file? The absolute value of pressure?

Panos
by panosvar
14 Jan 2020, 19:19
Forum: ElmerSolver
Topic: 2d simulation of acoustic wave propagation
Replies: 27
Views: 672

Re: 2d simulation of acoustic wave propagation

I ran several simulations with Helmholtz equation (in 3d meshes though), with the same approach, and always got pressure wave 1 & 2. That's why it seems weird to me.