COMSOL navier-stoke equation help

  • Thread starter gganendra
  • Start date
  • Tags
    Comsol
In summary, it is possible to solve the Navier-Stokes equation for a boundary using different conditions in each segment.
  • #1
gganendra
4
0
Hi everybody, newbie here...:smile:

im doing a modelling work with comsol and have a problem of solving using navier-stoke equation for the boundary. is it possible to discretize the boundary condition into several parts and apply different condition in each segment?

thank you beforehand,
 
Engineering news on Phys.org
  • #2
Hi gganendra,

yes - that is possible. Probably the easiest way is to do it like you described, divide the (original) boundary to multiple new boundaries and apply different conditions to each new segment. Alternatively, in Comsol you can define the boundary condition as a function of coordinates along the boundary (you can use either a global coordinate system, or then a local coordinate system going along the boundary) which gives you freedom to define pretty much whatever kind of bcs you desire (non-piece-wise mean).
 
  • #3
oh so it is possible...because in comsol script (i prefer script rather than multiphysics, it gives more freedom), each boundary is given an indices (fem.bnd.ind field), and each indices apply to each line (2d, or face, 3d) for example in a rectangular geometry and i can't divide the line to several parts

okay then i will try the coordinate system... thank you
 
  • #4
yeah, if you don't want to modify your model working with coordinate systems is pretty straightforward (or logical expressions -- there is nothing preventing writing the bc as a combination of (something>something) or if(cond,true,false) where the conditions are coordinate dependent. Step functions can also be a nice aid. And actually also defining the bc as a tabular expression [the ability to define functions in a tabular fashion which comsol then interpolates ] where the expression spans the boundary is a pretty elegant way of doing it). If you "partition" existing boundaries by re-defining the geometry then you can naturally apply your conditions straight on those, but that requires some "operating" on the model.
 

What is the Navier-Stokes equation?

The Navier-Stokes equation is a set of equations that describe the motion of a fluid. It takes into account factors such as viscosity, pressure, and density to calculate the velocity of the fluid at any given point.

Why is the Navier-Stokes equation important?

The Navier-Stokes equation is important because it is used in many areas of science and engineering to model fluid flow. It has applications in fields such as aerodynamics, weather forecasting, and oceanography.

What is the role of COMSOL in solving the Navier-Stokes equation?

COMSOL is a software platform that provides a user-friendly interface for solving complex mathematical equations, including the Navier-Stokes equation. It allows scientists and engineers to easily input their parameters and obtain numerical solutions for fluid flow problems.

What are some challenges in solving the Navier-Stokes equation?

One challenge in solving the Navier-Stokes equation is the nonlinearity of the equations, which can make it difficult to find analytical solutions. Another challenge is the high computational cost, as the equations involve solving multiple equations at each point in the fluid domain.

How can I use COMSOL to help with my Navier-Stokes equation problem?

COMSOL offers a variety of tools and features to help users solve Navier-Stokes equation problems. These include built-in physics interfaces, customizable meshing options, and post-processing capabilities to visualize and analyze results. Additionally, there are many resources available online, such as tutorials and support forums, to help users navigate and troubleshoot any issues they may encounter.

Similar threads

  • Materials and Chemical Engineering
Replies
3
Views
3K
  • STEM Academic Advising
Replies
6
Views
1K
Replies
4
Views
1K
  • Differential Equations
Replies
3
Views
237
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Materials and Chemical Engineering
Replies
4
Views
20K
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • Classical Physics
Replies
8
Views
2K
Replies
1
Views
1K
Back
Top