|
| 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=5.0 |
| 11 | +timeStep=0.001 |
| 12 | + |
| 13 | +# Saving rate: |
| 14 | +timeRate=0.01 |
| 15 | + |
| 16 | +# Element Type: |
| 17 | +# ["Lagrange", "IsoParametric", ...] |
| 18 | +elementType=Lagrange |
| 19 | + |
| 20 | +# Time integration method: |
| 21 | +# ["Euler1", "Euler2", "Runge-Kutta"...] |
| 22 | +timeIntMethod=Runge-Kutta |
| 23 | + |
| 24 | + |
| 25 | +# Boundary condition: |
| 26 | +# /!\ The physical group name must match the Gmsh name (case sensitive) |
| 27 | +Reflecting = Reflecting |
| 28 | +Absorbing = Absorbing |
| 29 | +MyPhysicalName = Absorbing |
| 30 | + |
| 31 | +# Number of thread |
| 32 | +numThreads=100 |
| 33 | + |
| 34 | +# Mean Flow parameters |
| 35 | +v0_x = 0 |
| 36 | +v0_y = 7.0 |
| 37 | +v0_z = 0 |
| 38 | +rho0 = 1.225 |
| 39 | +c0 = 343 |
| 40 | + |
| 41 | +# Source: |
| 42 | +# name = fct,x,y,z, size, intensity,frequency,phase,duration |
| 43 | +# - fct supported = [monopole, dipole, quadrupole] |
| 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, 100, -600, 100, 100, 2, 5, 0, 5 |
| 50 | +source2 = monopole, 0, -600, 100, 100, 2, 5, 0, 5 |
| 51 | +source3 = monopole, -100, -600, 100, 100, 2, 5, 0, 5 |
| 52 | +# source4 = dipole, -500,-50,150, 30, 2,5,0,5 |
| 53 | +# source5 = dipole, -500,50,150, 30, 2,10,0,5 |
| 54 | + |
| 55 | +# Initial condition: |
| 56 | +# name = gaussian,x,y,z, size, amplitude |
| 57 | +# - fct supported = [gaussian] |
| 58 | +# - (x,y,z) = position |
| 59 | +# - amplitude = initial amplitude |
| 60 | +# NB: Multiple CI are supported and recursively added. |
| 61 | +# (initial condition1 = ..., initial condition = ...) |
| 62 | +#initialCondtition1 = gaussian, 0,0,0,1,1 |
| 63 | + |
| 64 | +# Save file: |
| 65 | +# i.e. where the solution is stored |
| 66 | +saveFile=data.msh |
| 67 | + |
| 68 | + |
| 69 | + |
0 commit comments