Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Cycle Stability Check in Time Dependent flow problem(CFD)

Theodor Victor Christiaanse

Please login with a confirmed email address before reporting spam

Hello, I'm working on a time dependent flow problem in a regenerator.

The flow is defined as

u=A*2*pi*f*sin(2*pi*f*t)

So we have a negative and a positive flow direction.

Now, I run ridiculous long simulations but in some cases it is not needed. I'm trying to compare each cycle to the next and if this hits the follow criteria:

if (max( u(x,t)-u(x,t-1/f) )<1e-4 during a whole period ) then stop the simulation.

I'm thinking of setting up a domain PDE with an event to stop the simulation but maybe there is an easier way.

kind regards,
Theo

0 Replies Last Post 21.08.2016, 14:20 GMT-4
COMSOL Moderator

Hello Theodor Victor Christiaanse

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.