How to add a mass source term in N-S equation

Please login with a confirmed email address before reporting spam

The below post is related to an archived discussion


[start here] How to add a source term which is only acted in a limited location, for instance, a square in 2-D problems.


1 Reply Last Post May 23, 2020, 11:09 AM EDT

Please login with a confirmed email address before reporting spam

Posted: 1 week ago May 23, 2020, 11:09 AM EDT

you can set up this square in the 2D model and add the source term by selecting this square, or you can write the if function, such as if(-1[unit]<=x(axis)<=1[unit]&&-1[unit]<=y(axis)<=1[unit],source term,0).

-------------------
Innovation comes from life, but above life
you can set up this square in the 2D model and add the source term by selecting this square, or you can write the if function, such as if(-1[unit]

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.