Message Boards

Defining initial conditions in WAQ

Ana Costa, modified 3 Years ago.

Defining initial conditions in WAQ

Youngling Posts: 3 Join Date: 7/7/14 Recent Posts
Dear all,

I am a new user of DELFT3D-WAQ.

I ran DELFT3D-FLOW with decomposed domains (6) and coupled the results to run WAQ.
However, I am struggling to set the initial conditions for a substance (spatially variable). I thought to define it by importing the grids of each domain in QUICKIN, attribute a “depth” that would be the initial value of the substance, and then save as a .dep and therein as a .qin file (I would have 6 .qin files). However, if it was only one file I would easily import in WAQ, but how can I import all 6 .qin files to define the initial conditions of one substance in WAQ?
Additionally, I have tried to export the grid of WAQ, import to QUICKIN and do the previous step. For that, I ran WAQ without importing any file for initial condition (considering constant throughout space), opening the .map file together with .lga file in QUICKPLOT and exported as a grid file. However, when I open the saved grid, it seems that I have more cells than before, as a cell has been added to the frontier of the original WAQ grid.
Any suggestion to overcome this is welcome.
Thank you very much for any help with this.

Michel Jeuken, modified 2 Years ago.

RE: Defining initial conditions in WAQ (Answer)

Jedi Knight Posts: 156 Join Date: 1/21/13 Recent Posts

sorry for picking this up so late. I hope this might still help you, or others.

When you merge the results for multiple domains into one domain, the segments of the domains are placed after each other in a new grid. In QuickPlot you can open de LGA/CCO and see, based on the numbering how the domains are ordered, but it should be related to the order in the ddb file. You already created the qin-files correctly. These are plain ascii files. Now it should be possible to append these files together in one big qin file in the order of the domains as in the ddb-file (and checking this based on numbering in QP.

When you have a 3D model, you should do copy paste all the data into one file like this:

qin data domain1, layer1
qin data domain2, layer1
qin data domainn, layer1

qin data domain1, layer2
qin data domain2, layer2
qin data domainn, layer2


You should be able to import that into the GUI