GfsAdaptError

From Gerris

Jump to: navigation, search

GfsAdaptError uses an a posteriori error estimate of a given field as a cost function for adaptation. The error is estimated by computing the norm of the Hessian matrix of the given field, estimated using third-order-accurate discretisation operators.

The syntax in parameter files is:

[ GfsAdaptGradient ]

The cmax value of the corresponding GfsAdapt is the maximum acceptable estimated error.

Examples

  • Cyclone-generated wave field
  •     AdaptError { istep = 1 } { cmax = 0.1 minlevel = 4 maxlevel = LEVEL c = Hse } Hs
    

        AdaptError { istep = 1 } { 
            cmax = 0.2 minlevel = 4 maxlevel = LEVEL c = Ve 
        } sqrt(U10*U10 + V10*V10)
    

communication