Replies: 1 comment 2 replies
-
Dear Aran, In the initial conditions sections, you can add a new subsection:
And with this, you can use any mathematical expression you want to set the tracer initial condition. For example, if you want a tracer of 1 left to x=0, you would do something like:
If you are talking about continuously injecting a tracer at a location (like setting a Dirichlet boundary condition in the domain for the tracer concentration), this is currently not possible, but it would not be a difficult thing to add to the code. You could add a geometric function and force an affice constraint at the location of these nodes for examples. That would be a relatively simple first PR to make and I can help you with that. Best |
Beta Was this translation helpful? Give feedback.
-
Hi, I was hoping to make a simulation with a tracer. However, I would like the tracer concentration to be 1 at a chosen point or within a very small sphere at this point, instead of choosing a whole boundary with that concentration. Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions