Search found 21 matches

by ashbre
Mon Nov 01, 2021 11:31 pm
Forum: ROMS Discussion
Topic: Incorporating phytoplankton floating (Fennel model)
Replies: 6
Views: 12302

Re: Incorporating phytoplankton floating (Fennel model)

Me again, So I took a bit of time to go through the upward/downward motions in red_tide.h and merged it into fennel.h. I found that the two codes are essentially identical up until the line starting wdt=-Wbio(iswim)*dtdays (red_tide.h) or cff=dtdays*ABS(Wbio(isink)) (fennel.h) I found that I had ...
by ashbre
Thu Oct 21, 2021 9:15 pm
Forum: ROMS Discussion
Topic: Incorporating phytoplankton floating (Fennel model)
Replies: 6
Views: 12302

Re: Incorporating phytoplankton floating (Fennel model)

Thanks for all your replies!

This is a little bit of a daunting task looking at both codes, since they a structured differently, and a lot of potential places to code this incorrectly.

If anybody has any specific guidance for this, it would be most helpful!

Best wishes,
Ash
by ashbre
Fri Sep 03, 2021 4:27 pm
Forum: ROMS Discussion
Topic: Incorporating phytoplankton floating (Fennel model)
Replies: 6
Views: 12302

Re: Incorporating phytoplankton floating (Fennel model)

Many thanks for the quick replies, this is very handy indeed!

Thanks again,
Ash
by ashbre
Thu Sep 02, 2021 5:45 pm
Forum: ROMS Discussion
Topic: Incorporating phytoplankton floating (Fennel model)
Replies: 6
Views: 12302

Incorporating phytoplankton floating (Fennel model)

Hi there, I would like to incorporate a floating mechanism to the phytoplankton component of the Fennel model, to mimic the behaviour of Microcystis cells. Currently, the model has a constant sinking term and I would like to mirror this for floating, i.e. moving the phytoplankton upwards at some ...
by ashbre
Sat May 29, 2021 3:26 pm
Forum: ROMS Discussion
Topic: Atmospheric forcing for child grid
Replies: 3
Views: 6910

Re: Atmospheric forcing for child grid

Right I see - I tried forcing it to true, but still couldn't get past the error. It's easy enough to do the interpolation myself anyhow.

Thanks for your help!
Ash
by ashbre
Fri May 28, 2021 7:27 pm
Forum: ROMS Discussion
Topic: Atmospheric forcing for child grid
Replies: 3
Views: 6910

Atmospheric forcing for child grid

Hi there, I am currently trying to set up a nested grid (1 refinement grid). The atmospheric forcing files I provide fit the parent grid exactly (and works). How do I get the forcing files to work directly with the refinement grid without providing a new file (i.e. so that ROMS does the ...
by ashbre
Thu May 27, 2021 10:51 pm
Forum: ROMS Discussion
Topic: WET_DRY compilation problem
Replies: 10
Views: 33140

Re: WET_DRY compilation problem

Works perfectly! Thanks for the quick fix, it's much appreciated!
by ashbre
Thu May 27, 2021 7:05 pm
Forum: ROMS Discussion
Topic: WET_DRY compilation problem
Replies: 10
Views: 33140

Re: WET_DRY compilation problem

Thanks! One more ...

initial.f90(174): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface. [INIREC]
CALL get_wetdry (ng, iNLM, IniRec(ng))
---------------^
compilation aborted for initial.f90 (code 1)
by ashbre
Thu May 27, 2021 1:53 pm
Forum: ROMS Discussion
Topic: WET_DRY compilation problem
Replies: 10
Views: 33140

Re: WET_DRY compilation problem

Hi there, I ran a svn update this morning and the get_wetdry.f90 code updated and now most of the errors are gone (rev 1067). I'm just left with the following: get_wetdry.f90(31): error #6404: This name does not have a type, and must have an explicit type. [GET_GRID] PUBLIC :: get_grid ...
by ashbre
Thu May 27, 2021 12:20 am
Forum: ROMS Discussion
Topic: WET_DRY compilation problem
Replies: 10
Views: 33140

Re: WET_DRY compilation problem

Thanks for the quick reply!

They are all there, does the compilation interact with varinfo.dat?

All the best,
Ash
by ashbre
Wed May 26, 2021 10:36 pm
Forum: ROMS Discussion
Topic: WET_DRY compilation problem
Replies: 10
Views: 33140

WET_DRY compilation problem

Hi there, I'm having trouble compiling with the WET_DRY option on the latest source code. I get the following error: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% get_wetdry.f90(142): error #5082: Syntax error, found IDENTIFIER 'VID' when expecting one of ...
by ashbre
Wed Dec 16, 2020 3:28 pm
Forum: ROMS Discussion
Topic: Bottom flux for Fennel model
Replies: 3
Views: 7143

Re: Bottom flux for Fennel model

I see both variables throughout in the new source code.

All the best,
Ash
by ashbre
Wed Dec 16, 2020 5:42 am
Forum: ROMS Discussion
Topic: Bottom flux for Fennel model
Replies: 3
Views: 7143

Bottom flux for Fennel model

Hi there, I recently updated to the latest source code and one of my bottom boundary conditions has stopped working. In particular, a nutrient flux associated with the Fennel biological model. I've added the following to ana_btflux.h ELSE IF (itrc.eq.iNH4_) THEN DO j=JstrT,JendT DO i=IstrT,IendT ...
by ashbre
Wed Sep 30, 2020 3:51 pm
Forum: ROMS Discussion
Topic: Evaporation + precipitation mass conservation
Replies: 5
Views: 9003

Re: Evaporation + precipitation mass conservation

Thank you for your help on this.

I made the changes as you recommended and it works perfectly!

Thanks again,
Ash
by ashbre
Sat Sep 19, 2020 3:02 pm
Forum: ROMS Discussion
Topic: Evaporation + precipitation mass conservation
Replies: 5
Views: 9003

Re: Evaporation + precipitation mass conservation

Hi there, Thank you very much for your quick responses! Apologies I think I didn't explain my problem very clearly. My problem is that when I add evaporation and precipitation, the amount of water that I have in the system doesn't change. Actually in my case I'm not solving for salinity, as ...
by ashbre
Fri Sep 18, 2020 3:55 pm
Forum: ROMS Discussion
Topic: Evaporation + precipitation mass conservation
Replies: 5
Views: 9003

Evaporation + precipitation mass conservation

Hi all, I'm currently running a lake model where E and P are important in terms of removing and adding water to the domain. However I found that ROMS does not support this function. I wondered if anybody added this feature to their model code and if so, could they share their experience. As far as I ...
by ashbre
Fri Aug 21, 2020 6:49 pm
Forum: ROMS Discussion
Topic: River Sinks
Replies: 7
Views: 4299

Re: River Sinks

This change works perfectly! Thank you for considering the problem for me, it is greatly appreciated! So the idea is that sources add water and change the concentration of the tracer depending on the value of the tracer in the river, say. A sink on the other hand with remove water, but it won't ...
by ashbre
Fri Aug 21, 2020 3:07 am
Forum: ROMS Discussion
Topic: River Sinks
Replies: 7
Views: 4299

Re: River Sinks

So I tried to turn off the tracer at particular source locations. I want the water volume to change, but I don't want to insert any tracer differences. My logic is that I want to somehow mimic the behavior of "LtracerSrc = F" for certain rivers. But perhaps I am not fully understanding. I did the ...
by ashbre
Thu Aug 06, 2020 5:49 pm
Forum: ROMS Discussion
Topic: River Sinks
Replies: 7
Views: 4299

Re: River Sinks

Thanks for your reply! Ha yes, I went over this page with a fine tooth comb - and I think I can understand how it wants me to locate the rivers for a sink. But the stability was throwing me off a little (making me think I've done something wrong). How would I go about setting the tracer values of ...
by ashbre
Thu Aug 06, 2020 4:34 am
Forum: ROMS Discussion
Topic: River Sinks
Replies: 7
Views: 4299

Re: River Sinks

I see! I’m using using both, some rivers are sources and some rivers are sinks. Is there a tidy way to handle that?

Thanks for the quick response!
by ashbre
Wed Aug 05, 2020 10:15 pm
Forum: ROMS Discussion
Topic: River Sinks
Replies: 7
Views: 4299

River Sinks

Dear ROMS users, I'm having an issue with sinks in my river files. My understanding is (assume a square enclosed lake) that If I wanted a sink on my west bank, then I need the following: river_direction = 0 river_transport < 0 river location on the land (u-point) with adjacent water point. However ...