Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

how to plot the velocity profile between any two points in Comsol 4.2

Please login with a confirmed email address before reporting spam

In comsol 3.5, when I want to get the velocity profile from (0,0) to (0,4), I could use postprocessing--> cross section plot parameters --> line plot, then I can input cross section line data. However in Comsol 4.2, when I try to plot 1D plot --> line graph, I can only choose the boudaries as the line. Could you tell me how to plot the velocity profile between any two points in Comsol 4.2? Thank you.

8 Replies Last Post 18 janv. 2013, 01:56 UTC−5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 15 déc. 2011, 02:53 UTC−5
Hi,

want to know the same. No possibility to do such a plot?

Elmar
Hi, want to know the same. No possibility to do such a plot? Elmar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 15 déc. 2011, 03:01 UTC−5
Hi,

In the results section under data sets you need to create a 2D/3D Cut Line where you can specify the start and end points, then you can create a 1D plot a choose as a source the Cut Line you created before.

Cheers
Hi, In the results section under data sets you need to create a 2D/3D Cut Line where you can specify the start and end points, then you can create a 1D plot a choose as a source the Cut Line you created before. Cheers

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 15 déc. 2011, 03:22 UTC−5
Hi,

thank you very much for this fast respond.

Have a nice day
Hi, thank you very much for this fast respond. Have a nice day

Saeid Norouzi Apourvari

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 04:21 UTC−5
Dear Amir,

I am going to plot additional cross sections parallel to the first one I defined. I checked Additional parallel line and entered the range. However when I click on plot icon to see the lines I only could see the first line and subsequently one velocity profile. How could I resolve the problem?
Since I want to take many cross sections I hate to do it manually for each one.

Thanks and regards,
Dear Amir, I am going to plot additional cross sections parallel to the first one I defined. I checked Additional parallel line and entered the range. However when I click on plot icon to see the lines I only could see the first line and subsequently one velocity profile. How could I resolve the problem? Since I want to take many cross sections I hate to do it manually for each one. Thanks and regards,

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 08:57 UTC−5
Hi

when you add "additional lines" these appear on the positive "s" side, bit this "positive direction" might not be the one you expect, COMSOL has its own way ;) so try with negative values.
Normally in the later versions COMSOL show a small coordinate arrows to define +s and +t (s=along line, t transverse)

--
Good luck
Ivar
Hi when you add "additional lines" these appear on the positive "s" side, bit this "positive direction" might not be the one you expect, COMSOL has its own way ;) so try with negative values. Normally in the later versions COMSOL show a small coordinate arrows to define +s and +t (s=along line, t transverse) -- Good luck Ivar

Saeid Norouzi Apourvari

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 17:34 UTC−5
Dear Ivar,

I tried it in your way, but still does not work. Any other recommendation?

Regards,
saeid
Dear Ivar, I tried it in your way, but still does not work. Any other recommendation? Regards, saeid

Saeid Norouzi Apourvari

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 17 janv. 2013, 18:36 UTC−5
Hi Ivar,

You are right, negative distances is working. However, range is not working even when I input negative step size.

Thanks for your help,

Kind regards,
saeid
Hi Ivar, You are right, negative distances is working. However, range is not working even when I input negative step size. Thanks for your help, Kind regards, saeid

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 18 janv. 2013, 01:56 UTC−5
Hi

you need a "-range(0,0.1,1)" or a range(0,-0.1,-1) I would expect

the direction of "s" is defined by COMSOL so depending on the observation direction you need either + or - values, the coordinate arrow is there now in the plot to help you decide

--
Good luck
Ivar
Hi you need a "-range(0,0.1,1)" or a range(0,-0.1,-1) I would expect the direction of "s" is defined by COMSOL so depending on the observation direction you need either + or - values, the coordinate arrow is there now in the plot to help you decide -- Good luck Ivar

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.