Jump to content
TUFLOW FV
keith marcoe

Specifying Boundary Conditions with AD module

Recommended Posts

Hello,

Is it necessary to use the isodate format when specifying boundary conditions that include atmospheric heat calculations?

My simulation runs when using isodate, but when I try to run it using model hours (ie time format == hours) the following error is returned:

t =        0.000000 hrs.  dt =   0.000 /  0.000 s.  elapsed time =       0.0 s.
    Writing H datfile output. t =        0.000000 hrs.
    Writing TEMP datfile output. t =        0.000000 hrs.
    Writing V datfile output. t =        0.000000 hrs.
    Writing TEMP datfile output. t =        0.000000 hrs.
    Writing V datfile output. t =        0.000000 hrs.
    Writing NETCDF output. t =        0.000000 hrs.

ERROR: day_of_the_year requires tform == 1

ERROR-STACK:fvdomain_run:fvdomain_run_timestep:fvcell_turb:fvatmos_update:heat_sw:day_of_the_year requires tform == 1

In my bc file, I am specifying temperature (water), short wave radiation, long wave radiation, mean sea level pressure, rain, relative humidity, and air temperature.  Wondering if maybe the heat transfer calculations require knowledge about the date and that is why it is returning the error when hours are used.

Thanks!

 

 

 

 

Share this post


Link to post
Share on other sites

Hi Keith,

The atmospheric calculations for albedo (used in the incident radiation calculations) require a day of the year and a time of day at this stage. There is an item on the development list to calculate an average for users simulating in hours, or to specify a 'start date'. 
In the mean time unfortunately you will have to convert your model over to isodate to use the atmospheric calculations.

I will update the documentation to reflect this limitation.

-Toby

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...