Welcome, Guest
Username: Password: Remember me

TOPIC: Waqtel O2 processes

Waqtel O2 processes 7 years 1 week ago #28151

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
Hello forum!

I am currently trying to model DO/BOD processes and after hustling with manual edits in SOURCE_TRAC I decided to give WAQTEL a shot.

However, the simulations won't start, no error messages are shown. Attached are my .cas files.

Any ideas?

/Schmirre

File Attachment:

File Name: t3d_still.cas
File Size: 6 KB


File Attachment:

File Name: o2_waq_steer.cas
File Size: 4 KB
The administrator has disabled public write access.

Waqtel O2 processes 7 years 1 week ago #28154

  • riadh
  • riadh's Avatar
Hello

Can you send a copture of the listing you obtain?
Please add the keyword DEBUGGER=1

with kind regards

Riadh
The administrator has disabled public write access.

Waqtel O2 processes 7 years 1 week ago #28157

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
Hi again,

Thanks for a fast answer. I solved the problem, I had some problems with my gfortran version after compiling the lastest release version!

Now I've had some time to look into the code and started test simulations of the O2-processes. I have a couple of questions, and I hope someone here could help me to clarify?

1. I did some simulation runs without any oxygen-demandning sources (no organic load, no NH4) just to make sure that the benthic oxygen demand and the reareation are corrently represented. In my model, the oxygen increases at the bottom and decreases at the surface. Why is this reversed? Can it have anything to do with how i specify my vertical layers? Files are attached.

2. In several fortran subroutines it is possible to account for the actual temperature in the model. There is a variable called:

"YATEMP" - if yes temperature is available.
"IND_T" - Index of temperature in tracer table

And this IND_T variable are called in several subroutines (for example calcs3d_o2.f, reaer.f, satur_o2.f). But how do I define temperature? When I've done it in the main .cas file - the tracers order is overridden by the subroutines. Also here my files are attached.

Thanks in advance!

/Schmirre


File Attachment:

File Name: t3d_still_2017-11-13.cas
File Size: 6 KB


File Attachment:

File Name: o2_waq_steer_2017-11-13.cas
File Size: 2 KB


File Attachment:

File Name: bnd_h.cli
File Size: 21 KB


File Attachment:

File Name: mesh.slf
File Size: 104 KB


File Attachment:

File Name: calcs3d_o2.f
File Size: 6 KB
The administrator has disabled public write access.

Waqtel O2 processes 7 years 1 week ago #28160

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
And here is an update:

When i run the simulations without any sources, WAQTEL automatically generates three tracers: DISSOLVED O2, ORGANIC LOAD, NH4 LOAD.

When I add a source, the simulation stops because it says I haven't defined the initial tracer values for all tracers, which I have..

I also tried to use in total 4 tracers, where i define the first one as 'TEMPERATURE', this doesn't change anything though..

Thanks in advance for your ideas!
The administrator has disabled public write access.

Waqtel O2 processes 6 years 11 months ago #28250

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Schmirre,

I got the same problem which has been bothering me for a while, it seems that there's a conflict between prescribing Tracer TEMPERATURE for T3D and other Tracers for WAQTEL in the steering file at the same time, especially when taking density flow into account. I'm wondering if you've solved this problem, hope to hear from you soon!

With best regards,
Yunhao
The administrator has disabled public write access.

Waqtel O2 processes 6 years 11 months ago #28257

  • Schmirre
  • Schmirre's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 78
  • Thank you received: 1
Hi Yunhao!

I am still stuck with the same problem!

Do you have any experience in utilizing a varying temperature for calculations of temperature dependent constants in these subroutines?

Best regards, Schmirre
The administrator has disabled public write access.

Waqtel O2 processes 6 years 11 months ago #28260

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Schmirre,

It seems that both of us get stuck with this problem :blink: , and I don't have much experience about what you said but there's a temperature difference in my domain aiming to study the density flow. Hope the problem can be solved ASAP.

Cheers,
Yunhao
The administrator has disabled public write access.

Waqtel O2 processes 6 years 11 months ago #28332

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Schmirre,

I solved my problem, as Waqtel increases automatically the number of tracers when coupled with T3D, there's no need to add the number of tracers inside Waqtel (PO4, NO3, etc.) to 'number of tracers', if you use temperature, just set 'number of tracers=1'. For initial tracer values you need to give all of them a value, I just add 'zero' to the unused one.

Besides, there is a bug in the error message in bord3d.f in line 563, it should be 'NUMLIQ%I(K)*NTRAC' instread of 'NUMLIQ%I(K)'.

Hope this helps!
Yunhao
The administrator has disabled public write access.

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.