Stephane,
Question 1)
I have done one time step of the 3-d flow over a cube of side length
0.5 located on the floor of the computational domain.
The sides of the cube seem to coincide with a solid surface at +/- 0.25
in x and z, and -0.5 and 0 in the z direction.
>Gfs-WARNING **: file solid.c: line 404
(set_solid_fractions_from_surface): (0.171875,0.015625,0.015625): level
5: solid->a = 1. Surfaces have been written in /tmp/gerris_warning.146.
To get the code to run i have to displace the all the sides slightly. I
can understand this for the bottom of the cube as it is at the same
height as the floor, but why the other sides?
Question 2)
In the same flow simulation i have specified a monitoring location:
GfsOutputLocation { istep = 1 } monitor -0.4 0.4 0
and got the following output
0 -0.4 0.4 0 0.192016 1.06473 0.0697627 -4.1379e-05 0 0 0 0 0 0 0 0
which I believe is time, x, y, z, u, v, w, ....
This suggest that my flow is in the v (y) direction. It should be in
the u (x) direction!?
Am i reading the output file correctly?
I'm sure this has been asked and is specified somewhere, but i can't
find a full description of the output. What are all the numbers in the
output file?
Question 3)
I would like a time averaged wind speed profile above the cube. Would
I have to specify a number of monitoring points at different heights,
or is there a method to time average over a line through the solution
domain?
Cheers,
ben
I have included my .sim and .gts files.
2 1 GfsDomain GfsBox GfsGEdge {} {
GfsTime { iend = 1 }
GtsSurfaceFile surf2.gts
GfsRefine 5
GfsInitFlowConstant {} { U = 1. }
GfsOutputSolidStats {} log
GfsOutputTime { istep = 1 } log
GfsOutputBalance { istep = 1 } log
GfsOutputProjectionStats { istep = 1 } log
GfsOutputSimulation { istep = 20 } simulation-%08.5f {
variables = U,V,W,P
}
GfsOutputTiming { start = end } log
GfsOutputLocation { istep = 1 } monitor -0.4 0.4 0
}
GfsBox { left = GfsBoundaryInflowConstant 1. }
GfsBoxNotAdapt { right = GfsBoundaryOutflow }
1 2 right
8 18 12 GtsSurface GtsFace GtsEdge GtsVertex
-0.25001 0.0001 -0.25001
0.25001 0.0001 -0.25001
-0.25001 -0.5001 -0.25001
0.25001 -0.5001 -0.25001
0.25001 0.0001 0.25001
0.25001 -0.5001 0.25001
-0.25001 -0.5001 0.25001
-0.25001 0.0001 0.25001
1 2
3 1
2 3
2 4
etc ..
|