Search found 74 matches
- 14 Jan 2020, 15:40
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
Re: 2d simulation of acoustic wave propagation
Hi kevinarden, It's true that it doesn't converge for frequencies higher than 10kHz. However, I tried to create a finer mesh in Salome and now it is even worse. I'm suspecting that the problem underlies in length units Elmer gets as input. As you can see in the picture above it scales it in SI, even...
- 13 Jan 2020, 18:38
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
Re: 2d simulation of acoustic wave propagation
Hi mika, Thanks for following the thread and answering whenever you can. To make it more simple, I've provided a .rar with the necessary files to run the project. I'd like you to perform a very simple task, if that's possible, that could confirm that at least I'm not making any obvious and stupid mi...
- 13 Jan 2020, 14:31
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
Re: 2d simulation of acoustic wave propagation
This is the way I've assigned boundaries and bodies in Salome: For bodies: - the air between transducers is specified as a face in Salome - the transducers are specified as a group of faces in Salome For boundaries: - one side (bottom side of transducer for transducers on top & top side of trans...
- 13 Jan 2020, 12:23
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
Re: 2d simulation of acoustic wave propagation
1) I only get one variable named "pressure wave" in ParaView for some reason, in other Elmer projects I played with in the past which were in 3d I didn't come up with any issue like this 2) I put the y coordinate because that's the axis on which the wave is propagating. I don't quite get w...
- 10 Jan 2020, 13:27
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
Re: 2d simulation of acoustic wave propagation
Hi Mika, Thanks for the reply. Apart from what you mentioned (which I corrected), do you think that the direction of the wave (as I described) is correctly defined by setting k to +- 1 (for upwards and downwards direction correspondingly)? Also, could you please explain me two more things: 1) Why do...
- 09 Jan 2020, 17:39
- Forum: ElmerSolver
- Topic: 2d simulation of acoustic wave propagation
- Replies: 58
- Views: 25162
2d simulation of acoustic wave propagation
Hi, I want to run a simulation of acoustic waves produced by two arrays of transducers facing each other (check 'transducers.PNG'), in 2d. So, basically I have one array of transducers on bottom facing an array on top, each array consists of 16 transducers and each transducer can produce a specific ...
- 09 Jan 2020, 14:59
- Forum: ElmerSolver
- Topic: Multiple BCs in a for loop
- Replies: 6
- Views: 2978
Re: Multiple BCs in a for loop
Do you know how lists work in MATC? Let's say I want to create a list x = [1, 2, 3, 4, 5], I don't quite understand how this needs to be implemented in .sif
- 09 Jan 2020, 14:52
- Forum: ElmerSolver
- Topic: Multiple BCs in a for loop
- Replies: 6
- Views: 2978
Re: Multiple BCs in a for loop
Thanks for providing the files, I did it with a script in Python though. It was easier than I expected
- 08 Jan 2020, 20:12
- Forum: ElmerSolver
- Topic: Multiple BCs in a for loop
- Replies: 6
- Views: 2978
Re: Multiple BCs in a for loop
Any tutorials on this?kevinarden wrote: ↑08 Jan 2020, 18:59 I do not think the sif file and reader will support that type of input. However you could write a python, c, fortran code that would generate the sif file.
Thanks for the reply
- 08 Jan 2020, 17:03
- Forum: ElmerSolver
- Topic: Multiple BCs in a for loop
- Replies: 6
- Views: 2978
Multiple BCs in a for loop
Hi, I'm trying to set up multiple BCs (32 in total) by using for loops. However, I'm not quite sure if this is supported by ElmerSolver. So far I've tried the following code: $for (i=1:32) \ Boundary Condition i; Target Boundaries(1) = i + 1; $p0=1.0; $k=1.0; Pressure Wave 1 = Variable Coordinate; R...