Commit b00fe1d2 authored by Praetorius, Simon's avatar Praetorius, Simon

navierStokes demo added

parent 2c1e3427
dimension of world: 2
% ====================== VARIABLES ========================
output_folder: output
output_postfix: _drivenCavity
mesh_name: mesh
% ====================== MESH =============================
${mesh_name}->macro file name: macro/macro.drivenCavity.2d
${mesh_name}->global refinements: 12
${mesh_name}->check: 0
% ============= PROBLEM-SPACES ==================================
ns->space->components: (${dimension of world})+1
ns->space->polynomial degree[0]: 2
ns->space->polynomial degree[1]: 2
ns->space->polynomial degree[2]: 1
ns->space->dim: 2
ns->space->mesh: ${mesh_name}
% ================== SOLVER ======================================
ns->space->solver: direct
ns->space->solver->tolerance: 1.e-8
ns->space->solver->info: 1
% ====================== USER-PARAMETER ==============
ns->viscosity: 0.1
ns->density: 1.0
%ns->force: [0.0, 9.81] % gravitational force [m/s^2]
ns->laplace operator: 0 % 0... div(nu*grad(u)), 1... div(0.5*nu*(grad(u)+grad(u)^T)) [sehr langsam]
ns->non-linear term: 3 % 0... u^old*grad(u_i^old), 1... u'*grad(u_i^old), 2... u^old*grad(u'_i)
% ====================== TIMESTEPS ========================
adapt->timestep: 1.e-2
adapt->max timestep: 1e+10
adapt->min timestep: 1e-6
adapt->start time: 0.0
adapt->end time: 20
% =========== OUTPUT ==============================================
ns->velocity->output->filename: ${output_folder}/velocity${output_postfix}_
ns->space->output[2]->filename: ${output_folder}/pressure${output_postfix}_
ns->velocity->output->ParaView animation: 1
ns->velocity->output->ParaView vector format: 1
ns->velocity->output->write vector as 3d vector: 1
ns->velocity->output->write every i-th timestep: 1
%ns->velocity->output->compression: gzip
ns->velocity->output->append index: 1
ns->velocity->output->index length: 9
ns->velocity->output->index decimals: 7
ns->space->output[2]->ParaView animation: 1
ns->space->output[2]->ParaView format: 1
ns->space->output[2]->write every i-th timestep: 1
%ns->space->output[2]->compression: gzip
ns->space->output[2]->append index: 1
ns->space->output[2]->index length: 9
ns->space->output[2]->index decimals: 7
% ====================== ESTIMATORS =======================
adapt->strategy: 0 % 0=explicit, 1=implicit
WAIT: 1
ns->space->mesh: ${mesh_name}
% ============ USER_PARAMETERS - NS =================================
ns->viscosity: 1
ns->beta: 1
ns->sigma: 0.072
ns->beta: 1
ns->exponent: 2
ns->theta: 0.5
%ns->force: [0.0, -9.81] % gravitational force
ns->viscosity1: 1
ns->viscosity2: ${ns->viscosity1}/1000
ns->force dirichlet bc: 0
ns->poisson problem pertubation: 0 % 1..applySingularPertubation, 2..applySingularDBC, 0..nothing
ns->simple algorithm: 1
ns->calculate pressure: 0
ns->initial velocity: 3
ns->initial velocity value: 0.1
ns->laplace operator: 0 % 0... div(nu*grad(u)), 1... div(0.5*nu*(grad(u)+grad(u)^T)) [sehr langsam]
ns->non-linear term: 2 % 0... u^old*grad(u_i^old), 1... u'*grad(u_i^old), 2... u^old*grad(u'_i)
% =========== OUTPUT ==============================================
ns->velocity->output->filename: ${output_folder}/velocity${output_postfix}_
ns->space->output[3]->filename: ${output_folder}/pressure${output_postfix}_
% ============= PROBLEM-SPACES ==================================
ns->space->components: 4
ns->space->polynomial degree[0]: ${polynomial-degree}+1
ns->space->polynomial degree[1]: ${polynomial-degree}+1
ns->space->polynomial degree[2]: ${polynomial-degree}+1
ns->space->polynomial degree[3]: ${polynomial-degree}
ns->space->dim: 3
% ================== SOLVER ======================================
ns->space->solver: petsc-navierstokes2 %direct
ns->space->solver->backend: ${backend}
ns->space->solver->max iteration: 500
ns->space->solver->tolerance: 1.e-6
ns->space->solver->info: 10
ns->space->solver->navierstokes->laplace solver: 0
ns->space->solver->navierstokes->mass solver: 0
ns->space->solver->navierstokes->velocity solver: 0
ns->space->solver->navierstokes->use old initial guess: 1
%ns->space->solver->navierstokes->neumann boundary indices: 2
parallel->solver->petsc->ksp: -ns_ksp_gmres_modifiedgramschmidt -ns_ksp_initial_guess_nonzero 1
parallel->debug->print options info: 1
ns->space->solver->navierstokes->pressure component: 3
ns->space->solver->navierstokes->pressure null space: 1
ns->space->solver->navierstokes->use old initial guess: 1
% =================== OUTPUT =========================================
ns->velocity->output->ParaView animation: 1
ns->velocity->output->ParaView vector format: 1
ns->velocity->output->write vector as 3d vector: 1
ns->velocity->output->write every i-th timestep: 1
%ns->velocity->output->compression: gzip
ns->velocity->output->append index: 1
ns->velocity->output->index length: 9
ns->velocity->output->index decimals: 7
ns->space->output[3]->ParaView animation: 0
ns->space->output[3]->ParaView format: 0
ns->space->output[3]->write every i-th timestep: 1
%ns->space->output[3]->compression: gzip
ns->space->output[3]->append index: 1
ns->space->output[3]->index length: 9
ns->space->output[3]->index decimals: 7
DIM: 3
DIM_OF_WORLD: 3
number of elements: 2400
number of vertices: 650
vertex coordinates:
0 0 0
0.04 0 0
0.08 0 0
0.12 0 0
0.16 0 0
0.2 0 0
0.24 0 0
0.28 0 0
0.32 0 0
0.36 0 0
0.4 0 0
0.44 0 0
0.48 0 0
0.52 0 0
0.56 0 0
0.6 0 0
0.64 0 0
0.68 0 0
0.72 0 0
0.76 0 0
0.8 0 0
0.84 0 0
0.88 0 0
0.92 0 0
0.96 0 0
1 0 0
0 0.25 0
0.04 0.25 0
0.08 0.25 0
0.12 0.25 0
0.16 0.25 0
0.2 0.25 0
0.24 0.25 0
0.28 0.25 0
0.32 0.25 0
0.36 0.25 0
0.4 0.25 0
0.44 0.25 0
0.48 0.25 0
0.52 0.25 0
0.56 0.25 0
0.6 0.25 0
0.64 0.25 0
0.68 0.25 0
0.72 0.25 0
0.76 0.25 0
0.8 0.25 0
0.84 0.25 0
0.88 0.25 0
0.92 0.25 0
0.96 0.25 0
1 0.25 0
0 0.5 0
0.04 0.5 0
0.08 0.5 0
0.12 0.5 0
0.16 0.5 0
0.2 0.5 0
0.24 0.5 0
0.28 0.5 0
0.32 0.5 0
0.36 0.5 0
0.4 0.5 0
0.44 0.5 0
0.48 0.5 0
0.52 0.5 0
0.56 0.5 0
0.6 0.5 0
0.64 0.5 0
0.68 0.5 0
0.72 0.5 0
0.76 0.5 0
0.8 0.5 0
0.84 0.5 0
0.88 0.5 0
0.92 0.5 0
0.96 0.5 0
1 0.5 0
0 0.75 0
0.04 0.75 0
0.08 0.75 0
0.12 0.75 0
0.16 0.75 0
0.2 0.75 0
0.24 0.75 0
0.28 0.75 0
0.32 0.75 0
0.36 0.75 0
0.4 0.75 0
0.44 0.75 0
0.48 0.75 0
0.52 0.75 0
0.56 0.75 0
0.6 0.75 0
0.64 0.75 0
0.68 0.75 0
0.72 0.75 0
0.76 0.75 0
0.8 0.75 0
0.84 0.75 0
0.88 0.75 0
0.92 0.75 0
0.96 0.75 0
1 0.75 0
0 1 0
0.04 1 0
0.08 1 0
0.12 1 0
0.16 1 0
0.2 1 0
0.24 1 0
0.28 1 0
0.32 1 0
0.36 1 0
0.4 1 0
0.44 1 0
0.48 1 0
0.52 1 0
0.56 1 0
0.6 1 0
0.64 1 0
0.68 1 0
0.72 1 0
0.76 1 0
0.8 1 0
0.84 1 0
0.88 1 0
0.92 1 0
0.96 1 0
1 1 0
0 0 0.25
0.04 0 0.25
0.08 0 0.25
0.12 0 0.25
0.16 0 0.25
0.2 0 0.25
0.24 0 0.25
0.28 0 0.25
0.32 0 0.25
0.36 0 0.25
0.4 0 0.25
0.44 0 0.25
0.48 0 0.25
0.52 0 0.25
0.56 0 0.25
0.6 0 0.25
0.64 0 0.25
0.68 0 0.25
0.72 0 0.25
0.76 0 0.25
0.8 0 0.25
0.84 0 0.25
0.88 0 0.25
0.92 0 0.25
0.96 0 0.25
1 0 0.25
0 0.25 0.25
0.04 0.25 0.25
0.08 0.25 0.25
0.12 0.25 0.25
0.16 0.25 0.25
0.2 0.25 0.25
0.24 0.25 0.25
0.28 0.25 0.25
0.32 0.25 0.25
0.36 0.25 0.25
0.4 0.25 0.25
0.44 0.25 0.25
0.48 0.25 0.25
0.52 0.25 0.25
0.56 0.25 0.25
0.6 0.25 0.25
0.64 0.25 0.25
0.68 0.25 0.25
0.72 0.25 0.25
0.76 0.25 0.25
0.8 0.25 0.25
0.84 0.25 0.25
0.88 0.25 0.25
0.92 0.25 0.25
0.96 0.25 0.25
1 0.25 0.25
0 0.5 0.25
0.04 0.5 0.25
0.08 0.5 0.25
0.12 0.5 0.25
0.16 0.5 0.25
0.2 0.5 0.25
0.24 0.5 0.25
0.28 0.5 0.25
0.32 0.5 0.25
0.36 0.5 0.25
0.4 0.5 0.25
0.44 0.5 0.25
0.48 0.5 0.25
0.52 0.5 0.25
0.56 0.5 0.25
0.6 0.5 0.25
0.64 0.5 0.25
0.68 0.5 0.25
0.72 0.5 0.25
0.76 0.5 0.25
0.8 0.5 0.25
0.84 0.5 0.25
0.88 0.5 0.25
0.92 0.5 0.25
0.96 0.5 0.25
1 0.5 0.25
0 0.75 0.25
0.04 0.75 0.25
0.08 0.75 0.25
0.12 0.75 0.25
0.16 0.75 0.25
0.2 0.75 0.25
0.24 0.75 0.25
0.28 0.75 0.25
0.32 0.75 0.25
0.36 0.75 0.25
0.4 0.75 0.25
0.44 0.75 0.25
0.48 0.75 0.25
0.52 0.75 0.25
0.56 0.75 0.25
0.6 0.75 0.25
0.64 0.75 0.25
0.68 0.75 0.25
0.72 0.75 0.25
0.76 0.75 0.25
0.8 0.75 0.25
0.84 0.75 0.25
0.88 0.75 0.25
0.92 0.75 0.25
0.96 0.75 0.25
1 0.75 0.25
0 1 0.25
0.04 1 0.25
0.08 1 0.25
0.12 1 0.25
0.16 1 0.25
0.2 1 0.25
0.24 1 0.25
0.28 1 0.25
0.32 1 0.25
0.36 1 0.25
0.4 1 0.25
0.44 1 0.25
0.48 1 0.25
0.52 1 0.25
0.56 1 0.25
0.6 1 0.25
0.64 1 0.25
0.68 1 0.25
0.72 1 0.25
0.76 1 0.25
0.8 1 0.25
0.84 1 0.25
0.88 1 0.25
0.92 1 0.25
0.96 1 0.25
1 1 0.25
0 0 0.5
0.04 0 0.5
0.08 0 0.5
0.12 0 0.5
0.16 0 0.5
0.2 0 0.5
0.24 0 0.5
0.28 0 0.5
0.32 0 0.5
0.36 0 0.5
0.4 0 0.5
0.44 0 0.5
0.48 0 0.5
0.52 0 0.5
0.56 0 0.5
0.6 0 0.5
0.64 0 0.5
0.68 0 0.5
0.72 0 0.5
0.76 0 0.5
0.8 0 0.5
0.84 0 0.5
0.88 0 0.5
0.92 0 0.5
0.96 0 0.5
1 0 0.5
0 0.25 0.5
0.04 0.25 0.5
0.08 0.25 0.5
0.12 0.25 0.5
0.16 0.25 0.5
0.2 0.25 0.5
0.24 0.25 0.5
0.28 0.25 0.5
0.32 0.25 0.5
0.36 0.25 0.5
0.4 0.25 0.5
0.44 0.25 0.5
0.48 0.25 0.5
0.52 0.25 0.5
0.56 0.25 0.5
0.6 0.25 0.5
0.64 0.25 0.5
0.68 0.25 0.5
0.72 0.25 0.5
0.76 0.25 0.5
0.8 0.25 0.5
0.84 0.25 0.5
0.88 0.25 0.5
0.92 0.25 0.5
0.96 0.25 0.5
1 0.25 0.5
0 0.5 0.5
0.04 0.5 0.5
0.08 0.5 0.5
0.12 0.5 0.5
0.16 0.5 0.5
0.2 0.5 0.5
0.24 0.5 0.5
0.28 0.5 0.5
0.32 0.5 0.5
0.36 0.5 0.5
0.4 0.5 0.5
0.44 0.5 0.5
0.48 0.5 0.5
0.52 0.5 0.5
0.56 0.5 0.5
0.6 0.5 0.5
0.64 0.5 0.5
0.68 0.5 0.5
0.72 0.5 0.5
0.76 0.5 0.5
0.8 0.5 0.5
0.84 0.5 0.5
0.88 0.5 0.5
0.92 0.5 0.5
0.96 0.5 0.5
1 0.5 0.5
0 0.75 0.5
0.04 0.75 0.5
0.08 0.75 0.5
0.12 0.75 0.5
0.16 0.75 0.5
0.2 0.75 0.5
0.24 0.75 0.5
0.28 0.75 0.5
0.32 0.75 0.5
0.36 0.75 0.5
0.4 0.75 0.5
0.44 0.75 0.5
0.48 0.75 0.5
0.52 0.75 0.5
0.56 0.75 0.5
0.6 0.75 0.5
0.64 0.75 0.5
0.68 0.75 0.5
0.72 0.75 0.5
0.76 0.75 0.5
0.8 0.75 0.5
0.84 0.75 0.5
0.88 0.75 0.5
0.92 0.75 0.5
0.96 0.75 0.5
1 0.75 0.5
0 1 0.5
0.04 1 0.5
0.08 1 0.5
0.12 1 0.5
0.16 1 0.5
0.2 1 0.5
0.24 1 0.5
0.28 1 0.5
0.32 1 0.5
0.36 1 0.5
0.4 1 0.5
0.44 1 0.5
0.48 1 0.5
0.52 1 0.5
0.56 1 0.5
0.6 1 0.5
0.64 1 0.5
0.68 1 0.5
0.72 1 0.5
0.76 1 0.5
0.8 1 0.5
0.84 1 0.5
0.88 1 0.5
0.92 1 0.5
0.96 1 0.5
1 1 0.5
0 0 0.75
0.04 0 0.75
0.08 0 0.75
0.12 0 0.75
0.16 0 0.75
0.2 0 0.75
0.24 0 0.75
0.28 0 0.75
0.32 0 0.75
0.36 0 0.75
0.4 0 0.75
0.44 0 0.75
0.48 0 0.75
0.52 0 0.75
0.56 0 0.75
0.6 0 0.75
0.64 0 0.75
0.68 0 0.75
0.72 0 0.75
0.76 0 0.75
0.8 0 0.75
0.84 0 0.75
0.88 0 0.75
0.92 0 0.75
0.96 0 0.75
1 0 0.75
0 0.25 0.75
0.04 0.25 0.75
0.08 0.25 0.75
0.12 0.25 0.75
0.16 0.25 0.75
0.2 0.25 0.75
0.24 0.25 0.75
0.28 0.25 0.75
0.32 0.25 0.75
0.36 0.25 0.75
0.4 0.25 0.75
0.44 0.25 0.75
0.48 0.25 0.75
0.52 0.25 0.75
0.56 0.25 0.75
0.6 0.25 0.75
0.64 0.25 0.75
0.68 0.25 0.75
0.72 0.25 0.75
0.76 0.25 0.75
0.8 0.25 0.75
0.84 0.25 0.75
0.88 0.25 0.75
0.92 0.25 0.75
0.96 0.25 0.75
1 0.25 0.75
0 0.5 0.75
0.04 0.5 0.75
0.08 0.5 0.75
0.12 0.5 0.75
0.16 0.5 0.75
0.2 0.5 0.75
0.24 0.5 0.75
0.28 0.5 0.75
0.32 0.5 0.75
0.36 0.5 0.75
0.4 0.5 0.75
0.44 0.5 0.75
0.48 0.5 0.75
0.52 0.5 0.75
0.56 0.5 0.75
0.6 0.5 0.75
0.64 0.5 0.75
0.68 0.5 0.75
0.72 0.5 0.75
0.76 0.5 0.75
0.8 0.5 0.75
0.84 0.5 0.75
0.88 0.5 0.75
0.92 0.5 0.75
0.96 0.5 0.75
1 0.5 0.75
0 0.75 0.75
0.04 0.75 0.75
0.08 0.75 0.75
0.12 0.75 0.75
0.16 0.75 0.75
0.2 0.75 0.75
0.24 0.75 0.75
0.28 0.75 0.75
0.32 0.75 0.75
0.36 0.75 0.75
0.4 0.75 0.75
0.44 0.75 0.75
0.48 0.75 0.75
0.52 0.75 0.75
0.56 0.75 0.75
0.6 0.75 0.75
0.64 0.75 0.75
0.68 0.75 0.75
0.72 0.75 0.75
0.76 0.75 0.75
0.8 0.75 0.75