|
| 1 | +[Config] |
| 2 | + |
| 3 | +# How to use: |
| 4 | +# 1) Compile the DGalerkin sources (cmake && make) |
| 5 | +# 2) ./DGalerkin mymesh.msh myconfig.conf |
| 6 | +# -> First args = mesh file, Second arg = config file |
| 7 | + |
| 8 | +# Initial, final time and time step(t>0) |
| 9 | +timeStart=0 |
| 10 | +timeEnd=0.2 |
| 11 | +timeStep=0.00001 |
| 12 | + |
| 13 | +# Saving rate: |
| 14 | +timeRate=0.001 |
| 15 | + |
| 16 | +# Element Type: |
| 17 | +# ["Lagrange", "IsoParametric", ...] |
| 18 | +elementType=Lagrange |
| 19 | + |
| 20 | +# Time integration method: |
| 21 | +# ["Euler1", "Euler2", "Runge-Kutta"...] |
| 22 | +timeIntMethod=Euler1 |
| 23 | + |
| 24 | +# Boundary condition: |
| 25 | +# /!\ The physical group name must match the Gmsh name (case sensitive) |
| 26 | +Reflecting = Reflecting |
| 27 | +Absorbing = Absorbing |
| 28 | +MyPhysicalName = Absorbing |
| 29 | + |
| 30 | +# Number of thread |
| 31 | +numThreads=12 |
| 32 | + |
| 33 | +# Mean Flow parameters |
| 34 | +v0_x = 30 |
| 35 | +v0_y = 0 |
| 36 | +v0_z = 0 |
| 37 | +rho0 = 1.225 |
| 38 | +c0 = 100 |
| 39 | + |
| 40 | +# Source: |
| 41 | +# name = fct,x,y,z,size,intensity,frequency,phase,duration |
| 42 | +# - fct supported = [monopole, dipole, quadrupole, udf] |
| 43 | +# - if fct = formula => name = fct,"formula expr",x,y,z,size,duration (ex: formula = 0.1 * sin(2 * pi * 50 * t)) |
| 44 | +# - (x,y,z) = source position |
| 45 | +# - intensity = source intensity |
| 46 | +# - frequency = source frequency |
| 47 | +# NB: Extended source or Multiple sources are supported. |
| 48 | +# (source1 = ..., source2 = ...) indice must change. |
| 49 | +# source1 = monopole, 0.0,0.0,0.0, 0.1, 0.1,50,0,0.1 |
| 50 | +source1 = formula, "0.1 * sin(2 * pi * 50 * t)", 0.0,0.0,0.0, 0.1, 0.2 |
| 51 | +# source2 = udf, "-0.1 * sin(2 * pi * 50 * t)", -0.5,0.0,0.0, 0.1, 0.1 |
| 52 | + |
| 53 | +# Initial condition: |
| 54 | +# name = gaussian,x,y,z, size, amplitude |
| 55 | +# - fct supported = [gaussian] |
| 56 | +# - (x,y,z) = position |
| 57 | +# - amplitude = initial amplitude |
| 58 | +# NB: Multiple CI are supported and recursively added. |
| 59 | +# (initial condition1 = ..., initial condition = ...) |
| 60 | +# initialCondtition1 = gaussian, 0,0,0,1,1 |
| 61 | + |
| 62 | + |
| 63 | + |
0 commit comments