Problem with manual? Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Problem with manual? « Previous Next »

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

Brown.GS (manking)
New member
Username: manking

Post Number: 2
Registered: 11-2005
Posted on Thursday, November 10, 2005 - 07:51 am:   

Now,I have a trouble using PDE.
The problem raise from the user_guide_500_2up.pdf
I saw a example on page 28.
The script as flow:
TITLE 'heat folw around an insulating blob' { the problem identification }

VARIABLES { system variables }
Phi { the environment temperature }

DEFINITIONS { parameter definitions }
k=1
r=0.5
EQUATIONS
div(-k*grad(phi))=0 {differetal equation}
! CONSTRAINTS { Integral constraints }
BOUNDARIES { The domain definition }
REGION 1'box'
START(-1,-1)
value(Phi)=0 line to (1,-1)
natural(Phi)=0 line to (1,1)
value(Phi)=1 line to (-1,1)
natural(Phi)=0 line to close
region 2 'blob'
k=0.001 !??????
start 'ring'(r,0)
arc(center=0,0) angle=360 {?????}
PLOTS
CONTOUR(Phi)
vector(-k*grad(phi)
ELEVATION (Phi) from(0,-1) to (0,1)
ELEVATION (normal(-k*grad(Phi))) on 'ring'}
END


My software versions is 5.0.7 .
Once you click the "run" ,it will generate dialog "Illegal item encountered in input".
why?
Can you help me?

Thank you!

Top of pagePrevious messageNext messageBottom of page Link to this message

Poletaev (nick)
Member
Username: nick

Post Number: 4
Registered: 11-2005
Posted on Thursday, November 10, 2005 - 11:53 am:   

Remove a brace after ELEVATION (normal(-k*grad(Phi))) on 'ring'}
Top of pagePrevious messageNext messageBottom of page Link to this message

Poletaev (nick)
Member
Username: nick

Post Number: 5
Registered: 11-2005
Posted on Thursday, November 10, 2005 - 12:23 pm:   

Close right parenthesis after vector(-k*grad(phi)
Top of pagePrevious messageNext messageBottom of page Link to this message

Brown.GS (manking)
Junior Member
Username: manking

Post Number: 3
Registered: 11-2005
Posted on Friday, November 11, 2005 - 03:29 am:   

Thank you
I have modified as flow:
ELEVATION Phi from(0,-1) to (0,1)
ELEVATION normal(-k*grad(Phi)) on 'ring'
end
BUT it have the problem Once you click the "run" ,it will generate dialog "Illegal item encountered in input".
The mouse stayed the character "elevation".
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 493
Registered: 06-2003
Posted on Friday, November 11, 2005 - 03:29 pm:   

Start at the point marked as "Illegal item" and work backward. Somewhere not far away, you will find a typographically incorrect construct.

Most likely, you will find that you have not corrected the missing paren as identified by Nick Poletaev in the posting immediately before yours.

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