|
"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!
|