Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
gradients in Comsol

Subject: gradients in Comsol

From: selim selim

Date: 28 Jul, 2008 15:17:01

Message: 1 of 2

Hallo,
Is it possible to get gradients of velocity (u,v) in an
incompressible Navier stokes simulation in comsol?

Thanks a lot,
--Selim

Subject: gradients in Comsol

From: Gavrilo Bozovic

Date: 28 Jul, 2008 15:57:05

Message: 2 of 2

"selim selim" <fthsel@example.com> wrote in message
<g6kntd$lso$1@fred.mathworks.com>...
> Hallo,
> Is it possible to get gradients of velocity (u,v) in an
> incompressible Navier stokes simulation in comsol?
>
> Thanks a lot,
> --Selim

First, this is not something that you should ask here, as it
is more a Comsol question than a Matlab question, even if
you are using Matlab for the postprocessing. The Comsol
support can help you with this

Then, yes, basically if you can think of it, you can do it ;)

Could you tell more precisely what you are looking for? Do
you want to get simply the repartition of the fluid velocity
along a cross-section in your model? For this you should do:

data=posteval(fem,'u', [...])

instead of the [...], you'll have to put the geometric
element in which you want your speed.

data will then be a structure, containing, among others, the
coordinates of the nodes at which the speed is calculated,
and the values. There is a pretty comprehensive explanation
of posteval in the Comsol help. Just hit F1, go in the HTML
help for Comsol Multiphysics, and search posteval!

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us