Cross Section Plot parameters

Topics: no topics

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

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   4 Replies   Last post: June 16, 2010 5:45am UTC
Daniel Morales

Daniel Morales

June 15, 2010 12:17am UTC

Cross Section Plot parameters

Hi,
How do I get something like "Cross Section Plot parameters¨ in Comsol v4?. I'm just moving from V3.5 (where that menu appears in a explicit form) to 4 (where I can't find something like that).
The problem in which I'm working, is a fluid (engine oil) between parallels plates, so I need to evaluate the velocity profile along the duct.
Thanks for your help!

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

Ivar Kjelberg

Ivar Kjelberg

June 15, 2010 5:46am UTC in response to Daniel Morales

Re: Cross Section Plot parameters

Hi

there are a lot of extra plot options in V4, right clikck on the Results, and then on the 1/2/3D Plot Group and add them in

Good luck
Ivar

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

Jim Knox

Jim Knox

June 15, 2010 8:02pm UTC in response to Daniel Morales

Re: Cross Section Plot parameters

There is a section in the 4.0 manual called "1D, 2D, and 3D Cross-Section Point Plots". I tried this for a 1D plot, however, after specifying a range for my x values in the "Cut Point 1D" Settings, in the "Point Data" entry field, I get a COMSOL Error when attempting to plot a Point Graph of:

"Failed to evaluate expression. - Function: range -Property value: point

The range syntax is correct yet shows up in red. I suspect this is a bug, but if you can get it to work, let us know!

I am on a Mac Pro running Snow Leopard.

A work around is to define a "Cut Point 1D" data set (or your appropriate dimension) for each point, then a separate Point Plot for each Data set. Tedious, but did get the plot I wanted.

~jim~

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

Daniel Morales

Daniel Morales

June 15, 2010 8:33pm UTC in response to Jim Knox

Re: Cross Section Plot parameters

Hi,
I've finally solved my problem (I don't know if it's the best way to do it):
1) I defined a "Cut Line 2D" in Data sets. In "Line Data", I used the "Two points" method, and I put a vertical line near the entrance and others downstream. (I defined 9 cut lines)
2)Then, I defined this "Line Graph" (9 in this case), and I selected, in "Data Set", a line defined previously.

I did the same in V3.5, but automatically.

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

Ivar Kjelberg

Ivar Kjelberg

June 16, 2010 5:45am UTC in response to Daniel Morales

Re: Cross Section Plot parameters

Hi

I believe so to, but there is a principle one needs to learn, have not seen it documented as such:
in V4 everything you define high up in the model tree (close to the top title) is filled in more or less automatically for you furthe down in the branches.

This means that if you define a "Probe" in the Model Definitions, it would automatiacally generate your plots when you solve (this is more or less through, COMSOl must understand what to do w.r.t. the variables you define.

This applies rather systematically through the model tree for other items too, i.e. selection lists, solver sequences ...

If you define your extra plot solely in the "Results" section they get easily erased if you delete the solution they are lined to.

This is based on the logic (I interprete) as that the model tree is to be read top down, even if, when you define it and set up your model you jump up and down sometimes

Have fun Comsoling
Ivar

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


Rules and guidelines