Thank you very much for your atention.
I need to store a five dimensions mesh with seven variables, sush this:
- Code: Select all
create empty array Geometry3d
<velocity_x:double, velocity_y:double, velocity_z:double, pression:double, displacement_x:double, displacement_y:double, displacement_z:double>
[simulation_number=0:*,1,0, time_step=0:*,1,0, x_axis=0:*,1,0, y_axis=0:*,1,0, z_axis=0:*,1,0];
To better understand I try to scketch what I want.

I need to store velocity vector, pression and displacement vector for each point of a 3D mesh.
1 - My first problem is because the axis are float dimensions and I can't load it directly for the scidb. Then I'm normalizing to a integer dimensions before the load.
2 - The problem I have now is the fact of the solver normalize different coordinates to a same coordinate.
I'll try to explain:
Supose the coordinate 0,00000000000001 and 0,000000000002 was normalized to 0, and so I have two diferent points of the mesh with the same dimensions.
What I need is store only one of them, but I don't have success on it.
3 - The code with one chunk is only for the first test, I think in study this in the future when I have success in load my data.
4 - This is the beggining of a file I trying to load:
- Code: Select all
[[[[[{0, 1, 0, 0, 0} (0.99685698, 100000.0, 0.0, 99685.698, 0.0, 0.0, 0.0)]]]]];
[[[[[{0, 1, 0, 333333, 0} (-0.99685698, 99700.554, 6.5964008, 99685.698, 0.0, 0.0, 0.0)]]]]];
[[[[[{0, 1, 0, 666667, 0} (-1.0413293, 99687.427, 6.5960179, 99665.345, 0.0, 0.0, 0.0)]]]]];
[[[[[{0, 1, 0, 1000000, 0} (-0.98934333, 99704.683, 6.5965245, 99679.717, 0.0, 0.0, 0.0)]]]]];
[[[[[{0, 1, 0, 666667, 0} (-1.0413293, 99687.427, 6.5960179, 99665.345, 0.0, 0.0, 0.0)]]]]];
Ever occurs well, up to find the same dimension: lines 3 to 5.
I think if I obtain a by pass when a duplicate dimension is finded, I resolve my problem.
Sorry for taking your time. I'm excited to use the SciDB.
A hug!