Jump to content
TUFLOW FV
PHA

Setting ICs for tracer levels

Recommended Posts

Hi folks,

We're looking to start a simulation with one body of water (out of many) filled with tracer so we can see where it ends up as the simulation progresses. It's not apparent from the documentation that this is possible except globally; is there a way to do this this locally? Alternatively, is there something analogous to an SA boundary which could include tracer in an inflow over an area (so a small inflow in the first minute with large concentration of tracer, then nothing further for the rest of the simulation)? We currently have applied 11,000 cell boundaries, one for every cell in the area we're interested in! Which sort of works, but ends up with different concentrations in each cell as the element sizes vary (because they all they the same same small quantity of additional water with, with the same concentration of tracer, but have differing volumes of water already in the cells).

Any advice or top tips greatly appreciated! I'm hoping we've just missed something in the currently available tool kit, but if this isn't currently possible, could it perhaps be made so? (That is, both setting initial conditions for tracers locally and being able to apply an SA type inflow complete with tracer).

Thanks,

PHA.

Share this post


Link to post
Share on other sites

Hi PHA,

It seems what you are most likely looking for is an 'initial condition 2D' specification.

Initial condition 2D == my_initial_2d_file.csv

Where the csv has a header line that is ID, TRACE_1, and corresponding values below.

The first column is the cell ids, you don't need all of them, just the ones that you wish to change, though you can specify all if you wish, and the second column is the tracer concentration you want to initialise the model with, ie. 100.  You can also use these files to set the water level (WL) current velocity (U, V), salinity (SAL), temperature (TEMP) and any other tracers you are modelling (TRACE_2, TRACE_3, etc) if you wish.

We are also working on improving our BCs with FC_POLY boundaries, allowing users to have scalar inflows over all the cells within a user-specified polygon.

Share this post


Link to post
Share on other sites

Thank you, that sounds just the job!

As a side (but perhaps related) thought, might the FV manual be on the list for updating now the Classic manual has achieved release? Please? :)

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...