# GfsPhysicalParams

### From Gerris

(Difference between revisions)

Revision as of 04:04, 21 September 2007GeordieMcBain (Talk | contribs) (markup typo) ← Previous diff |
Revision as of 21:23, 22 March 2010Popinet (Talk | contribs) (Added examples) Next diff → |
||

Line 12: |
Line 12: | ||

(here the fluid with characteristic function <code>T</code> has density 1.225 and the other fluid has density 0.1694). | (here the fluid with characteristic function <code>T</code> has density 1.225 and the other fluid has density 0.1694). | ||

+ | |||

+ | <examples/> |

## Revision as of 21:23, 22 March 2010

Use GfsPhysicalParams to set the gravitational field strength `g`

(a number) and the specific volume (the reciprocal of density) `alpha`

(a scalar field).

For example, from the Geostrophic adjustment test case

PhysicalParams { g = 9.4534734306584e-4 }

and from the Rayleigh–Taylor example

VariableTracerVOF {} T InitFraction {} T (0.05*cos (2.*M_PI*x) + y) { ty = 0.5 } PhysicalParams { alpha = 1./(T*1.225 + (1. - T)*0.1694) }

(here the fluid with characteristic function `T`

has density 1.225 and the other fluid has density 0.1694).

### Examples

PhysicalParams { alpha = 1./(T*1.225 + (1. - T)*0.1694) }

`
`

`
`

PhysicalParams { L = LDOMAIN }

`
`

`
`

PhysicalParams { alpha = 1./RHO(T) }

`
`

`
`

PhysicalParams { alpha = 1./RHO(T1) }

`
`

`
`

PhysicalParams { alpha = 1./rho(T) }

`
`

`
`

PhysicalParams { alpha = 1./VAR(T1,RATIO,1.) }

`
`

`
`

PhysicalParams { L = 500e3 }

`
`

`
`

PhysicalParams { g = 9.81 }

`
`

`
`

PhysicalParams { L = 8. }

`
`

`
`

PhysicalParams { g = 1. }

`
`

`
`

PhysicalParams { g = 1 }

`
`

`
`

PhysicalParams { L = 5 g = 9.81 }

`
`

`
`

PhysicalParams { L = 3.402 g = 9.81 }

`
`

`
`

PhysicalParams { # length of the domain (m) L = LENGTH # gravity is 9.81 m/s^2 g = 9.81 # from now on, units have been chosen to be metres and seconds }

`
`

`
`

PhysicalParams { L = 5000 }

`
`

`
`

PhysicalParams { L = 3328 }

`
`

`
`

PhysicalParams { L = 2. }

`
`

`
`

PhysicalParams { L = 2 }

`
`

`
`

PhysicalParams { L = 50 }

`
`

`
`

PhysicalParams { L = 50 }

`
`

`
`

PhysicalParams { L = 3 }

`
`

`
`

PhysicalParams { L = 1. }

`
`

`
`

PhysicalParams { alpha = 1./rho(T1) }

`
`

`
`

PhysicalParams { L = 60 }

`
`

`
`

PhysicalParams { L = RATIO g = 100./RE }

`
`

`
`

PhysicalParams { L = RATIO g = 1./(ALPHA*RE) alpha = 1./(1. + DRHO) }

`
`

`
`

PhysicalParams { alpha = 1./RHO(T1) }

`
`

`
`

PhysicalParams { alpha = 1./(T + 0.1*(1. - T)) }

`
`

`
`

PhysicalParams { alpha = 1./(T + 0.1*(1. - T)) }

`
`

`
`

PhysicalParams { alpha = 1./RHO(T1) }

`
`

`
`

PhysicalParams { alpha = 1./(T + 1e-2*(1. - T)) }

`
`

`
`

PhysicalParams { alpha = 1./(T + 0.01*(1. - T)) }

`
`

`
`

PhysicalParams { L = L0 g = G }

`
`

`
`

PhysicalParams { g = 9.4534734306584e-4 }

`
`

`
`

PhysicalParams { L = L0 g = G }

`
`

`
`

PhysicalParams { L = 1 }

`
`

`
`

PhysicalParams { g = 5.87060327757e-3 }

`
`

`
`

PhysicalParams { g = 5.87060327757e-3 }

`
`

`
`

PhysicalParams { g = 19.62 }

`
`

`
`

PhysicalParams { L = 10000 }

`
`

`
`

PhysicalParams { g = G }

`
`

`
`

PhysicalParams { L = 10000 }

`
`

`
`

PhysicalParams { g = G }

`
`

`
`

PhysicalParams { L = 25 g = 9.81 }

`
`

`
`

PhysicalParams { L = LENGTH g = G }

`
`

`
`

PhysicalParams { L = 60000 }

`
`

`
`

PhysicalParams { g = 9.81 }

`
`

`
`

PhysicalParams { L = 10 g = 9.81 }

`
`

`
`

PhysicalParams { g = 9.81 }

`
`

`
`

PhysicalParams { L = 8 }

`
`

`
`

PhysicalParams { L = LENGTH }

`
`

`
`

PhysicalParams { L = LENGTH }

`
`

`
`

PhysicalParams { L = 2.*M_PI/4. }

`
`

`
`

PhysicalParams { L = 2.*M_PI/4. }

`
`

`
`

PhysicalParams { L = 2.*M_PI/4. }

`
`

`
`

PhysicalParams { L = M_PI }

`
`

`
`

PhysicalParams { L = 2.*M_PI/4. }

`
`

`
`

PhysicalParams { L = M_PI }

`
`

`
`

PhysicalParams { L = 2.5 }

`
`

`
`

PhysicalParams { L = 2.5 }

`
`

`
`

PhysicalParams { L = 2.*M_PI*AR/4. }

`
`

`
`

PhysicalParams { L = 2.*M_PI*AR/4. # g*H0 g = G*8e3 }

`
`

`
`

PhysicalParams { L = 2.*M_PI*AR/4. g = G }

`
`

`
`

PhysicalParams { L = 2 }

`
`

`
`

PhysicalParams { L = 2 }

`
`

`
`

PhysicalParams { alpha = k }

`
`