subsection Exact solution 2d
# Any constant used inside the function which is not a variable name.
- set Function constants =
+ set Function constants =
# Separate vector valued expressions by ';' as ',' is used internally by the
# function parser.
subsection Exact solution 3d
# Any constant used inside the function which is not a variable name.
- set Function constants =
+ set Function constants =
# Separate vector valued expressions by ';' as ',' is used internally by the
# function parser.
subsection Wind function 2d
# Any constant used inside the function which is not a variable name.
- set Function constants =
+ set Function constants =
# Separate vector valued expressions by ';' as ',' is used internally by the
# function parser.
subsection Wind function 3d
# Any constant used inside the function which is not a variable name.
- set Function constants =
+ set Function constants =
# Separate vector valued expressions by ';' as ',' is used internally by the
# function parser.
# that describes the function, rather than having to use its numeric value
# everywhere the constant appears. These values can be defined using this
# parameter, in the form `var1=value1, var2=value2, ...'.
- #
+ #
# A typical example would be to set this runtime parameter to
# `pi=3.1415926536' and then use `pi' in the expression of the actual
# formula. (That said, for convenience this class actually defines both
# `pi' and `Pi' by default, but you get the idea.)
- set Function constants = R=.3, Cx=.4, Cy=.4 # default:
+ set Function constants = R=.3, Cx=.4, Cy=.4 # default:
# The formula that denotes the function you want to evaluate for
# particular values of the independent variables. This expression may
# true, and to the third argument otherwise. For a full overview of
# possible expressions accepted see the documentation of the muparser
# library at http://muparser.beltoforion.de/.
- #
+ #
# If the function you are describing represents a vector-valued function
# with multiple components, then separate the expressions for individual
# components by a semicolon.
# that describes the function, rather than having to use its numeric value
# everywhere the constant appears. These values can be defined using this
# parameter, in the form `var1=value1, var2=value2, ...'.
- #
+ #
# A typical example would be to set this runtime parameter to
# `pi=3.1415926536' and then use `pi' in the expression of the actual
# formula. (That said, for convenience this class actually defines both
# `pi' and `Pi' by default, but you get the idea.)
- set Function constants =
+ set Function constants =
# The formula that denotes the function you want to evaluate for
# particular values of the independent variables. This expression may
# true, and to the third argument otherwise. For a full overview of
# possible expressions accepted see the documentation of the muparser
# library at http://muparser.beltoforion.de/.
- #
+ #
# If the function you are describing represents a vector-valued function
# with multiple components, then separate the expressions for individual
# components by a semicolon.
# that describes the function, rather than having to use its numeric value
# everywhere the constant appears. These values can be defined using this
# parameter, in the form `var1=value1, var2=value2, ...'.
- #
+ #
# A typical example would be to set this runtime parameter to
# `pi=3.1415926536' and then use `pi' in the expression of the actual
# formula. (That said, for convenience this class actually defines both
# `pi' and `Pi' by default, but you get the idea.)
- set Function constants =
+ set Function constants =
# The formula that denotes the function you want to evaluate for
# particular values of the independent variables. This expression may
# true, and to the third argument otherwise. For a full overview of
# possible expressions accepted see the documentation of the muparser
# library at http://muparser.beltoforion.de/.
- #
+ #
# If the function you are describing represents a vector-valued function
# with multiple components, then separate the expressions for individual
# components by a semicolon.
# that describes the function, rather than having to use its numeric value
# everywhere the constant appears. These values can be defined using this
# parameter, in the form `var1=value1, var2=value2, ...'.
- #
+ #
# A typical example would be to set this runtime parameter to
# `pi=3.1415926536' and then use `pi' in the expression of the actual
# formula. (That said, for convenience this class actually defines both
# `pi' and `Pi' by default, but you get the idea.)
- set Function constants =
+ set Function constants =
# The formula that denotes the function you want to evaluate for
# particular values of the independent variables. This expression may
# true, and to the third argument otherwise. For a full overview of
# possible expressions accepted see the documentation of the muparser
# library at http://muparser.beltoforion.de/.
- #
+ #
# If the function you are describing represents a vector-valued function
# with multiple components, then separate the expressions for individual
# components by a semicolon.
set Particle insertion refinement = 4
set Velocity degree = 2
set Viscosity = 1
+
subsection Angular velocity
- set Function constants =
+ set Function constants =
set Function expression = t < .500001 ? 10 : -10
set Variable names = x,y,z,t
end
+
subsection Grid generation
set Fluid grid generator = hyper_rectangle
set Fluid grid generator arguments = -50,-50, -10: 50, 50, 40: false
set Solid grid generator = impeller.vtk
- set Solid grid generator arguments =
+ set Solid grid generator arguments =
set Particle grid generator = hyper_ball
set Particle grid generator arguments = 30, 30, 20: 10: false
end
+
subsection Refinement and remeshing
set Maximum number of cells = 100000
set Refinement coarsening fraction = 0.3
set Refinement step frequency = 5
set Refinement strategy = fixed_fraction
end
+
subsection Right hand side
- set Function constants =
+ set Function constants =
set Function expression = 0; 0; 0; 0
set Variable names = x,y,z,t
end
set Mesh adaptation frequency = 10
subsection Right hand side
- set Function constants =
+ set Function constants =
set Function expression = 0
set Variable names = x,y,t
end
-
+
subsection Initial value
- set Function constants =
+ set Function constants =
set Function expression = 0
set Variable names = x,y,t
end
-
+
subsection Boundary values
- set Function constants =
+ set Function constants =
set Function expression = (if(x<-0.999, 1, 0) + if(x>0.999, -1, 0)) * cos(4*pi*t)
set Variable names = x,y,t
end
set initial time = 0
set match final time = false
set maximum number of steps = -1
- set options prefix =
+ set options prefix =
set solver type = beuler
end
set ignore algebraic lte = true
set maximum step size = -1
set minimum step size = -1
- end
+ end
end
end