Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
25 mar 2016, 08:44 GMT-4
Hi Garrett,
I am not familiar with your application, but I would recommend checking that your initial conditions are consistent with your boundary conditions. If not, look no further.
Best,
Jeff
Hi Garrett,
I am not familiar with your application, but I would recommend checking that your initial conditions are consistent with your boundary conditions. If not, look no further.
Best,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
25 mar 2016, 11:50 GMT-4
Hi Garrett,
I am not familiar with your application, but I would recommend checking that your initial conditions are consistent with your boundary conditions. If not, look no further.
Best,
Jeff
Thanks Jeff! I'm not entirely sure what specifically you're suggesting I look at to verify everything is consistent. I've got a flow-through system with a single inlet (no species inflow) and outlet (with species outflow). Initial concentration in the fluid domain should be non-zero (as I'm specifying with an Initial Condition node), which over time should approach zero as fluid is washed out with "clean" fluid entering the domain. Right now the t0 concentration for the time dependent solver is non-zero, but not what I specify with the Initial Condition node.
Where specifically do you think I might be running into issues?
I don't understand what my issue is here, but I was able to set up a workaround by adding a Stationary solver step before my Time Dep step and setting my stationary solution as the initial solution. Still very interested in figuring out what was wrong with my first approach if you have any more thoughts though!
[QUOTE]
Hi Garrett,
I am not familiar with your application, but I would recommend checking that your initial conditions are consistent with your boundary conditions. If not, look no further.
Best,
Jeff
[/QUOTE]
Thanks Jeff! I'm not entirely sure what specifically you're suggesting I look at to verify everything is consistent. I've got a flow-through system with a single inlet (no species inflow) and outlet (with species outflow). Initial concentration in the fluid domain should be non-zero (as I'm specifying with an Initial Condition node), which over time should approach zero as fluid is washed out with "clean" fluid entering the domain. Right now the t0 concentration for the time dependent solver is non-zero, but not what I specify with the Initial Condition node.
Where specifically do you think I might be running into issues?
I don't understand what my issue is here, but I was able to set up a workaround by adding a Stationary solver step before my Time Dep step and setting my stationary solution as the initial solution. Still very interested in figuring out what was wrong with my first approach if you have any more thoughts though!
Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
25 mar 2016, 12:13 GMT-4
The problem is that your initial concentration is a non zero value, but on the inlet your boundary condition is zero. The two are not consistent: what is the concentration at the inlet at t0? zero or non-zero?
These types of inconsistencies lead to the initial solution either undershooting or overshooting the initial value in the very first layer of elements along the offending boundary.
The fix is to make the BC consistent with the initial condition by making the BC a function of time that drops from the non-zero initial concentration to zero over a short period of time, and then stays zero.
Best,
Jeff
PS: See also my posting in this thread:
www.comsol.com/community/forums/heat-transfer/thread/60591 . It's the same idea.
The problem is that your initial concentration is a non zero value, but on the inlet your boundary condition is zero. The two are not consistent: what is the concentration at the inlet at t0? zero or non-zero?
These types of inconsistencies lead to the initial solution either undershooting or overshooting the initial value in the very first layer of elements along the offending boundary.
The fix is to make the BC consistent with the initial condition by making the BC a function of time that drops from the non-zero initial concentration to zero over a short period of time, and then stays zero.
Best,
Jeff
PS: See also my posting in this thread: http://www.comsol.com/community/forums/heat-transfer/thread/60591 . It's the same idea.
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
9 years ago
30 mar 2016, 07:46 GMT-4
Hi,
As for the sensitivity to the end time of the solution, see also
www.comsol.com/community/forums/general/thread/108101/
Regards,
Henrik
Hi,
As for the sensitivity to the end time of the solution, see also
http://www.comsol.com/community/forums/general/thread/108101/
Regards,
Henrik