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.
Shear stress on streamlines/pathlines
Posted Feb 1, 2010, 11:32 a.m. EST 6 Replies
Please login with a confirmed email address before reporting spam
does anyone know how to export into Matlab the values of shear stress found on a streamline or pathline?
Like, I plot my pathline but I'm able just to export the velocity and not other variables.
Hope someone can help me,
Cheers
J
Please login with a confirmed email address before reporting spam
Also, is there a way to control the length of the streamlines?
Please login with a confirmed email address before reporting spam
Yes, this is the answer I got. Just be careful that they did a mistake in the formula you have to write (of course is the spatial gradient when you are considering the shear stress).
---------------------------
Regarding streamlines and shear stress: I am not sure if I understand your
question. If you like to extract the shear stress from a streamline, use
Cross-section plot parameters->Line extrusion and plot
shear stress = eta_chns*du/dt
at this line.
Boundary integration: This feature can only be used on boundaries. If you
want to integrate over a certain line in a subdomain, you need to draw this
line at that location.
---------------------------
Regarding the length...there should be, I think I saw it...I'll check!
Please login with a confirmed email address before reporting spam
So you calculated shear stress as eta_chns*du/dy , or eta_chns*dv/dx?
Where does this calculation get entered into.
Thank you so much for the help!
Please login with a confirmed email address before reporting spam
So, regarding our talk:
Multiphysics --> Cross-Section Plot Parameters --> Line/Extrusion --> y-axis data --> and here you write the expression you need.
Of course if you want the magnitude of the shear stress, just calculate the different components and do the modulus.
Tell me if you have any question...of course I don't know if I'll be able to answer :)
Please login with a confirmed email address before reporting spam
J
Please login with a confirmed email address before reporting spam
I went on plot parameters and used Particle Tracing Plot, that in this case is the same as Streamline since I'm in a steady case. Then inside Line Color I selected, for example, ux (du/dx). Then I exported the Current Plot.
It's an horrible way to export the data, but it works. But really...sucks!
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.
