some post-processing on the fly in Elmer

Numerical methods and mathematical models of Elmer
Post Reply
teofilBitron
Posts: 41
Joined: 25 Feb 2011, 18:43
Antispam: Yes
Location: Italy

some post-processing on the fly in Elmer

Post by teofilBitron »

At present I'm playing a bit whit acoustic analisys. The results are post-processed in Paraview. Please have a look to the attached picture:
mode_13th_4000KHz.jpg
mode_13th_4000KHz.jpg (83.91 KiB) Viewed 2198 times
Extract the isosurface at some value of the sound pressure level (SPL) could be a long task in Paraview for very large 3d model (about 1M nodes).
I'll use the "Isosurface extraction" module in order to compute the isosurface in Elmer computation time on the fly. The Helmholtz variable are Pressure.1 and Pressure.2 but I am more interested in SPL in dB value.
The question is: is it possible to save isosurface in VTK format of the sound pressure level defined as:

20*log10((Pressure.1*cos(value*3.1416)-Pressure.2*sin(value*3.1416))/20e-6)

Is it possible to write somthing like this:

Solver 3
Equation = "Isosurface80dB"
Procedure = "Isosurface" "IsosurfaceSolver"
Exec Solver = "after all"

IsoSurface Variable = Variable Pressure.1, Pressure.2
Real MATC "20*log10((Pressure.1*cos(1.9*3.1416)-Pressure.2*sin(1.9*3.1416))/20e-6)"
IsoSurface Values = 80
End


Any suggestion are wellcome.
Post Reply