ERROR in the SWIRL.PDE example ! Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » ERROR in the SWIRL.PDE example ! « Previous Next »

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

Alexandr P. (alexp)
New member
Username: alexp

Post Number: 1
Registered: 01-2006
Posted on Tuesday, January 24, 2006 - 03:17 am:   

You write ...
In two-dimensional steady-state axisymmetric form, this equation becomes three component equations, radial (vr), tangential (vt) and axial (vz):

vr*dr(vr) - vr^2/r + vz*dz(vr) + dr(p) = visc*[div(grad(vr)) - vr/r^2]
vr*dr(vt) + vr*vt/r + vz*dz(vt) = visc*[div(grad(vt)) - vt/r^2]
vr*dr(vz) + vz*dz(vz) + dz(p) = visc*div(grad(vz))

but in script You write ...
EQUATIONS
...
{ Tangential ("Swirling") Momentum equation }
vt: dens*[vr*dr(vt) - vr*vt/r + vz*dz(vt)] - visc*[div(grad(vt))-vt/r^2]=F*(vt0-vt)
...

In this expression before "vr*vt/r" there should be a sign "+".

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