PDA

View Full Version : Boundary Element Method Output Files Conversion


altgenn
Feb8-11, 04:00 PM
Hi there,

I have completed my analysis in BEM. The results gives me velocity potential in form of

37954305E-04 +1.58625295E-06 +2.10275811E-07 +....

I have real scattering values, imaginary and absolute scattering values in this form.

I am new to the method and from a different major, so my question may look silly.
In order to calculate the sound pressure, I have p=(rho)*(velocity potential) equation. (rho) is the density of the medium.

I do not know the format 0.0000E+00. What is it equal to? How may I convert it to calculate the equation?

Thanks. Best,

A.

AlephZero
Feb8-11, 08:03 PM
This is the standard format for data where you want a fixed number of significant figures, but the numbers have a wide range.

+1.58625295E-06 means +1.58625295 x 10^-6

Software that is mean to read "scientific" data files will read and write this format automatically. Check out E, F, and G formats in Fortran, %e, %f and %g formats in C, and similar things in other languages.

altgenn
Feb8-11, 08:10 PM
Thank you very much.