maximum variation Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » maximum variation « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Meryem LAMEHAMEDI (meryem)
New member
Username: meryem

Post Number: 1
Registered: 11-2009
Posted on Sunday, November 22, 2009 - 12:52 pm:   

I plot U in function of T in a specific coordinate using "HISTORY", but i need to fix the maximum variation of U to 1. Please, do you have any idea about how to do it.

Regards,

Meryem
Top of pagePrevious messageNext messageBottom of page Link to this message

Meryem LAMEHAMEDI (meryem)
New member
Username: meryem

Post Number: 2
Registered: 11-2009
Posted on Sunday, November 22, 2009 - 03:28 pm:   

Here you can find the script.
Thank you
Meryem

application/octet-stream.pde
pb1.pde (1.0 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 159
Registered: 07-2007
Posted on Sunday, November 22, 2009 - 08:48 pm:   

You can set the range of a plot using RANGE or FIXED RANGE. i.e.

HISTORY(U) AT (0.5,0) RANGE (0,1)

The difference between the two is that FIXED RANGE will never change the plot range - it will just not plot data outside the range. Whereas RANGE will increase the plot range if the data goes outside the range - i.e will go back to automatic scaling if the data lies outside.
Top of pagePrevious messageNext messageBottom of page Link to this message

Meryem LAMEHAMEDI (meryem)
Junior Member
Username: meryem

Post Number: 3
Registered: 11-2009
Posted on Monday, November 23, 2009 - 07:00 am:   

Thank you !!
Top of pagePrevious messageNext messageBottom of page Link to this message

Meryem LAMEHAMEDI (meryem)
Member
Username: meryem

Post Number: 4
Registered: 11-2009
Posted on Monday, November 23, 2009 - 01:32 pm:   

I have an extra question please, i need to know the value of T at U=0.5, i used the following script but it's not working:
"Summary FOR U REPORT T"

How can i do please?

Mereym
Top of pagePrevious messageNext messageBottom of page Link to this message

Marek Nelson (mgnelson)
Moderator
Username: mgnelson

Post Number: 161
Registered: 07-2007
Posted on Monday, November 23, 2009 - 06:08 pm:   

Since U is your variable, it is a field and possibly has a different value at each node.

The only way to do what you ask, is to plot a HISTORY(U) as mentioned above and then read from the graph the value of T at which U was 0.5. This will give you the value of T for that point only. It may be different at another point in the domain.

Or you could plot the HISTORY(GLOBALMAX(U)) which would give you the history of the maximum value of U at any node. (No AT clause is needed for this HISTORY since the parameter does not vary spatially).

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration