How to add new outputs to a predefined test case

Everything related to the preinstalled test cases in COHERENS. Additionally, you can find here the necessary files to setup a test case.If you have developed a new test case and you want to share it with other users, feel free to post a new thread.

Moderator: Katrijn

Post Reply
Sou
Posts: 51
Joined: Wed Sep 03, 2014 7:46 pm
Full name: Soudeh Afsharian

How to add new outputs to a predefined test case

Post by Sou »

Hi,
I want to add VVEl (y-component of velocity) and VSUR (y-component of surface velocity) to the test case Pycno or Csnsp. How can I define them? I just know the output definitions are in usrdef-time-series.f90 file, but I don't understand why some of them are in Time series outputs and some are in depth averaged outputs. what factor and where determines their category?
Generally, how and where we can define a specific variable to be set as an output?
Thank you in advance.
Sou
Katrijn
Posts: 87
Joined: Fri Nov 29, 2013 3:04 pm
Full name: Katrijn Baetens

Re: How to add new outputs to a predefined test case

Post by Katrijn »

Hi Sou,

all the predefined output parameters can be found in the modids.f90 file or maybe more convenient in appendix E of the user documentation http://www.odnature.be/downloads/cohere ... endixE.pdf . The modids.f90 file is stored under */code/physics/source. The output variables you can not find in appendix E, can be defined by the user in Usrdef_Output.f90 file, you don't need any switch to turn on the use of this file.

Hope this explanation is an answer to your question?
Sou
Posts: 51
Joined: Wed Sep 03, 2014 7:46 pm
Full name: Soudeh Afsharian

Re: How to add new outputs to a predefined test case

Post by Sou »

Katrijn wrote:Hi Sou,

all the predefined output parameters can be found in the modids.f90 file or maybe more convenient in appendix E of the user documentation http://www.odnature.be/downloads/cohere ... endixE.pdf . The modids.f90 file is stored under */code/physics/source. The output variables you can not find in appendix E, can be defined by the user in Usrdef_Output.f90 file, you don't need any switch to turn on the use of this file.

Hope this explanation is an answer to your question?

Thank you
Post Reply