double diffusive convection Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » double diffusive convection « Previous Next »

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

Eduardo Howard (eduardolaplata)
New member
Username: eduardolaplata

Post Number: 1
Registered: 07-2005
Posted on Friday, July 22, 2005 - 07:17 pm:   

Hello,

I am trying to model a system with double-diffusive instabilities, like salt fingers in ocean water, with Temperature and Salinity gradients.

Is there a working example/guide or something solved to follow as a reference about a FlexPDE implementation of this problem?

Thanks in advance,

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

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 412
Registered: 06-2003
Posted on Friday, July 22, 2005 - 08:51 pm:   

We have no example of this in-house, and I am not aware of one elsewhere. Sorry.

The example "Samples | Time_Dependent | Chemistry | Melting.pde" may have a few similarities to this problem that would be useful.

The moving-mesh capability may also be applicable in this case, but I'm just guessing.
Top of pagePrevious messageNext messageBottom of page Link to this message

Benjamin Kaplan (kaplan)
Member
Username: kaplan

Post Number: 5
Registered: 08-2003
Posted on Saturday, July 23, 2005 - 12:06 pm:   

Dear RG Nelson,
I use FLEXpde 5.0.2 and I would like to calculate the integral NORMAL FLUX at a curve surface (2D problem). I actually (cf. attached file 'hemisphere.pde') tried different possibilities that don't work (many functions exists :
line_integral, surf_integral...
but which one should be used ?...).
In the actual file I only "calculate" the flux on the 'hemisphere' surface with different method summarized in the SUMMARY, which give obviously different results and are probably false.
Can you help me to find the adequat function of FLEXpde to solve with an accurate precision this problem.
Best Regards.
Benjamin KAPLAN


application/octet-streamhemisphere pde file
hemisphere.pde (1.7 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 413
Registered: 06-2003
Posted on Saturday, July 23, 2005 - 05:47 pm:   

As the FlexPDE documentation points out, the Surface_Integral integrates over the surface area of the specified boundary. In the case of 2D cylindrical geometry, this means multiplying by 2*pi*r. Line_Integral is a line integral, and does not contain the 2*pi*r weighting.

In your "comparison" integral, you have put the 2*pi*r OUTSIDE the integral, instead of INSIDE the integral, where it belongs. If you conform to the rules of calculus and put the R inside, you will get the same answer for the "comparison" integral as FlexPDE produces for the Surface_Integral.

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