Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
recording data along an internal boundary defined by a levelset
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
matei  
View profile  
 More options Oct 19, 10:16 pm
From: matei <ma...@uottawa.ca>
Date: Mon, 19 Oct 2009 19:16:29 -0700 (PDT)
Local: Mon, Oct 19 2009 10:16 pm
Subject: recording data along an internal boundary defined by a levelset
I hope someone can help me with this one.

In a simulation with an internally defined boundary, defined using the
levelset function PSI, I would like to record some variables along a
line of constant PSI.

Is there any direct way I can do that?  So far, I have used the
"probe" command, while manually parametrizing a sequence of (x,y)
coordinates along any curve of interest.

Is there any more elegant way using the PSI function?

Thanks in advance.
matei


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Quirk  
View profile  
 More options Oct 20, 12:12 am
From: James Quirk <j...@galcit.caltech.edu>
Date: Mon, 19 Oct 2009 21:12:58 -0700 (PDT)
Local: Tues, Oct 20 2009 12:12 am
Subject: Re: recording data along an internal boundary defined by a levelset
Matei,

On Mon, 19 Oct 2009, matei wrote:

> I hope someone can help me with this one.

> In a simulation with an internally defined boundary, defined using the
> levelset function PSI, I would like to record some variables along a
> line of constant PSI.

> Is there any direct way I can do that?  So far, I have used the
> "probe" command, while manually parametrizing a sequence of (x,y)
> coordinates along any curve of interest.

> Is there any more elegant way using the PSI function?

There's no really clean way to do what you ask with
the existing functionality. But you might be
able to get away  with the following.

Suppose that your line of constant PSI was predominantly
horizontal then you could write:

      do x=$x1,$x2,$dc
         along x=$x locate Y[] when PSI[]==$PSItarget -> y
         probe MYFUNC[] at $x,$y -> v
      end do

As written the test used to locate $PSItarget is not
very robust and you would probably need to explore something
along the lines of:

      abs(PSI[]-$PSItarget) < $tol

The other alternaive would be to output the field data  in
a form that could be read by MATLAB, or OCTAVE, and the
use whatever machinery they have to extract a contour.

James


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matei Radulescu  
View profile  
 More options Oct 20, 12:29 pm
From: "Matei Radulescu" <ma...@uottawa.ca>
Date: Tue, 20 Oct 2009 12:29:43 -0400
Local: Tues, Oct 20 2009 12:29 pm
Subject: RE: recording data along an internal boundary defined by a levelset
James,
Thanks, I will try that.  
matei


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google