TOPIC: Extracting output variable from DRAGFO subroutine
Extracting output variable from DRAGFO subroutine
10 years 11 months ago #11227
albertoperezortiz
Hi,
I would like to extract one of my computed outputs from the DRAGFO subroutine. I've read old related topics and based on that I've added the following to my DRAGFO subroutine:
And then added N and O variables to VARIABLES FOR GRAPHIC PRINTOUTS in the steering file.
Is this correct? Do I have to add something to the PRERES or NOMVAR subroutines? Besides, my understanding is that FUDRAG AND FVDRAG variables from DRAGFO are multiplied by density, U and V components respectively, and water depth when calculation is run. Am I correct in assuming that if I use FUDRAG or FVDRAG values within the subroutine those calculation have not occurred yet? The only calculation I see that occurs within the subroutine is the smear of FUDRAG and FVDRAG across the area AIRE.
Thanks
Alberto
The administrator has disabled public write access.
Extracting output variable from DRAGFO subroutine
10 years 11 months ago #11231
jmhervouet
Hello,
Yes, this is correct. The equation solved, as explained in the subroutine header, is:
du/dt + advection = other terms + FUDRAG * u
This is why FUDRAG is negative and only linear in u. The rest of the treatment is only variational formulation and depth-averaging.
You can edit nomvar_telemac2d if you want to give clearer names and units to your variables.
With best regards,
Jean-Michel Hervouet
The administrator has disabled public write access.
Great news: The next TELEMAC User Conference will be organised by Bangor University on the 15th and 16th of October 2025, at the School of Ocean Sciences in Menai Bridge, on the Isle of Anglesey, Wale [ ... ]