# GfsSolid

### From Gerris

(Difference between revisions)

Revision as of 21:46, 3 July 2008Popinet (Talk | contribs) (examples cross-reference) ← Previous diff |
Revision as of 17:08, 17 December 2008VarboOubor (Talk | contribs) (cocotrsitc) Next diff → |
||

Line 1: |
Line 1: | ||

+ | getrobas | ||

GfsSolid is used to define solid boundaries. | GfsSolid is used to define solid boundaries. | ||

## Revision as of 17:08, 17 December 2008

getrobas GfsSolid is used to define solid boundaries.

The syntax in parameter files is:

GfsSolid [ GfsSurface ]

If GfsSurface is defined implicitly, by convention the fluid domain is the locus of points for which the implicit function takes positive values.

### Examples

Solid (x*x + y*y - 0.0625*0.0625)

`
`

`
`

Solid (x*x + y*y - 0.0625*0.0625)

`
`

`
`

Solid (x*x + y*y - 0.0625*0.0625)

`
`

`
`

Solid (ellipse(0.,-0.15,1./16.,1./16.))

`
`

`
`

Solid AEROFOIL.gts { rz = -INCIDENCE }

`
`

`
`

Solid ({ return y - (floor_depth - cavity_depth); })

`
`

`
`

Solid tangaroa.gts

`
`

`
`

Solid S60-scaled.gts { ty = 0.5 }

`
`

`
`

Solid AEROFOIL.gts { rz = -INCIDENCE }

`
`

`
`

Solid bath.gts

`
`

`
`

Solid (sphere(-0.5,0.,0.,0.5))

`
`

`
`

Solid ({ double theta = atan2 (y, x); double radius = 0.30 + 0.15*cos (6.*theta); return radius*radius - x*x - y*y; })

`
`

`
`

Solid (ellipse (0, 0, 0.25, 0.25))

`
`

`
`

Solid ({ double dr = 0.1; double theta = atan2 (y, x); double radius = 0.79*(0.45 - dr + dr*cos (6.*theta)); return x*x + y*y - radius*radius; })

`
`

`
`

Solid ({ double dr = 0.1; double theta = atan2 (y, x); double radius = 0.79*(0.45 - dr + dr*cos (6.*theta)); return x*x + y*y - radius*radius; })

`
`

`
`

Solid dumbell.gts

`
`

`
`

Solid (-sphere(0,0,0,0.4))

`
`

`
`

Solid (ellipse (0., 0., A0, A0))

`
`

`
`

Solid (ellipse (0., 0., A0, A0))

`
`

`
`

Solid (ellipse (0., 0., 0.05, 0.05))

`
`

`
`

Solid (ellipse (0,0,0.25,0.25)) { flip = 1 scale = 1.9999 }

`
`

`
`

Solid (ellipse (0,0,0.25,0.25))

`
`

`
`

Solid (ellipse(0.,0.,0.24,0.24))

`
`

`
`

Solid (ellipse(0.,0.,0.24,0.24))

`
`

`
`

Solid (ellipse (0.25, 0.25, 0.1, 0.1))

`
`

`
`

Solid (ellipse (-0.25, 0.125, 0.15, 0.1))

`
`

`
`

Solid (ellipse (0., -0.25, 0.2, 0.1))

`
`

`
`

Solid (0.125 - channel (x) - y) { scale = 4 tx = 1.5 }

`
`

`
`

Solid (y + 0.125 - channel (x)) { scale = 4 tx = 1.5 }

`
`

`
`

Solid (cube(0,0,0,0.5)) { sy = 0.06251 tx = 0.031249 ty = -0.015 }

`
`

`
`

Solid (z + H0)

`
`

`
`

Solid (z + 1.)

`
`

`
`

Solid (union (- ellipse (0, 0, 0.49975, 0.49975), z + 1.))

`
`

`
`

Solid (union (- ellipse (0, 0, 0.49975, 0.49975), z + 1.))

`
`

`
`

Solid bath.gts

`
`

`
`

Solid ({ double line1 = SLOPE*x - y + 28000./pow(2.,LEVEL); double line2 = - SLOPE*x + y + 28000./pow(2.,LEVEL); return union (line1, line2); })

`
`

`
`

Solid (y - 60000.*(0.5 - 0.99/pow(2,LEVEL)))

`
`

`
`

Solid (sphere(5.,0.,0.,2.0))

`
`

`
`

Solid (- ellipse (0.,ECC,R2,R2))

`
`

`
`

Solid (ellipse (0.,0.,R1,R1))

`
`

`
`

Solid (- ellipse (0.,ECC,R2,R2))

`
`

`
`

Solid (ellipse (0.,0.,R1,R1))

`
`

`
`

Solid (-y + 0.3)

`
`

`
`

Solid ( y + 0.2)

`
`

`
`

Solid (-difference(ellipse(0,0,0.7,0.7), ellipse(0,0,0.3,0.3)))

`
`

`
`

Solid (-difference(ellipse(0,0,0.7,0.7), ellipse(0,0,0.3,0.3)))

`
`