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

Topics: line plot, 4.2

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   8 Replies   Last post: January 18, 2013 6:56am UTC
Yang Wang

Yang Wang

November 24, 2011 2:34pm UTC

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

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.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Elmar Kersting

Elmar Kersting

December 15, 2011 7:53am UTC in response to Yang Wang

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

Hi,

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

Elmar

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Amir Fadel

Amir Fadel

December 15, 2011 8:01am UTC in response to Yang Wang

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

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Elmar Kersting

Elmar Kersting

December 15, 2011 8:22am UTC in response to Amir Fadel

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

Hi,

thank you very much for this fast respond.

Have a nice day

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Saeid Norouzi Apourvari

Saeid Norouzi Apourvari

January 17, 2013 9:21am UTC in response to Amir Fadel

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

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,

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

January 17, 2013 1:57pm UTC in response to Saeid Norouzi Apourvari

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

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Saeid Norouzi Apourvari

Saeid Norouzi Apourvari

January 17, 2013 10:34pm UTC in response to Ivar Kjelberg

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

Dear Ivar,

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

Regards,
saeid

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Saeid Norouzi Apourvari

Saeid Norouzi Apourvari

January 17, 2013 11:36pm UTC in response to Saeid Norouzi Apourvari

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

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Ivar Kjelberg

Ivar Kjelberg

January 18, 2013 6:56am UTC in response to Saeid Norouzi Apourvari

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

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

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines