straightforward heat transfer problem Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » straightforward heat transfer problem « Previous Next »

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

mefisto faust (mefistofaust)
New member
Username: mefistofaust

Post Number: 1
Registered: 08-2007
Posted on Thursday, August 09, 2007 - 10:40 am:   

Hi I have problems to write these equations in FlexPDE. Can you help me please?
Itīs here:
heat equation
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 927
Registered: 06-2003
Posted on Thursday, August 09, 2007 - 01:17 pm:   

This equation is the same as the one used as an example in our tutorial www.pdesolutions.com click Product Info -> Tutorial.

Also see the example problems in the folder Samples|Time_Dependent|Heatflow.

Incidentally, the way you have written the equation is correct only if k has a single, constant value throughout the domain. If there is any variation in k, or differing material values, then you must write the k inside the divergence:
dt(u) = div(K*grad(u))+q
Top of pagePrevious messageNext messageBottom of page Link to this message

mefisto faust (mefistofaust)
Junior Member
Username: mefistofaust

Post Number: 3
Registered: 08-2007
Posted on Friday, August 10, 2007 - 11:25 am:   

Hi, thank you much for help. I tried to write the script. But I have something wrong in the part of boundaries. Hope everything else is OK. Can you look at it,please?
application/octet-stream
1.1_FlexPDE.pde (1.5 k)

I wrote a commentary to script, so hope you will understand. Thank much for your help. =*
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 930
Registered: 06-2003
Posted on Friday, August 10, 2007 - 01:20 pm:   

You've simply drawn a diagonal line. This is not a 2D figure, as it has no area.

Re-read the Help section "User Guide->Basic Usage->Mapping the Domain", where we show you how to draw a box.

Top of pagePrevious messageNext messageBottom of page Link to this message

mefisto faust (mefistofaust)
Member
Username: mefistofaust

Post Number: 4
Registered: 08-2007
Posted on Monday, August 13, 2007 - 03:39 pm:   

Thanks for advice, I think I generated the boundaries now correctly, but I am not sure, if the PLOT and MONITORS is right writen.
Can you look at it please, and write me if itīs ok and if not, whatīs right?
I have there one dialog and is empty, so I have something wrong, probably.
Thank you very much for your time :-)
application/octet-stream
heat_2.pde (1.7 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 931
Registered: 06-2003
Posted on Monday, August 13, 2007 - 05:32 pm:   

"ON x=0" and "ON y=0" are 3D cut-plane specifiers. They are meaningless in 2D problems, and confuse the plot generator.
Remove them.

Also, you have no boundary conditions, so the default is a fully insulated body with an internal source. The temperature is therefore uniform throughout the domain, and growing steadily and without bound in time.
Provide some kind of boundary condition.

Top of pagePrevious messageNext messageBottom of page Link to this message

mefisto faust (mefistofaust)
Member
Username: mefistofaust

Post Number: 6
Registered: 08-2007
Posted on Tuesday, August 14, 2007 - 10:53 am:   

Thanks for advice, I wrote my source as a circle in the middle of the plate. The code is added.
application/octet-streamHeat_3
1.1_FlexPDE_3.pde (1.8 k)

It looks now good,
The result
but why I saw the numbers in negative? Not +number but -number?
Please can you write me, if I have done it good or something missing me there?
Thanks many Robert
Top of pagePrevious messageNext messageBottom of page Link to this message

mefisto faust (mefistofaust)
Member
Username: mefistofaust

Post Number: 7
Registered: 08-2007
Posted on Tuesday, August 14, 2007 - 12:28 pm:   

Soory I work out more on it. I was wrong before. Now I have source Q the constant number and define the NATURAL(u) and VALUE(u) in BOUNDARIES. (The numbers shown in PLOT pictures is a temperature, I hope so.Thanks for answer.)
Hope now itīs ok.
Can you check it, please?
Thank much.
application/octet-streamHeat_4
1.1_FlexPDE_4.pde (1.8 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 935
Registered: 06-2003
Posted on Tuesday, August 14, 2007 - 01:56 pm:   

The sign is wrong on your Natural BC.

The Natural defines the outward surface normal component of the argument of the divergence when the divergence is on the left side of the equation.

In your case, this means that the Natural BC defines the outward surface normal component of -k*grad(u), or the outward heat flux. Natural(u)=70 means that 70 units of heat are drawn out of the system in each time unit, regardless of the value of U.
Top of pagePrevious messageNext messageBottom of page Link to this message

mefisto faust (mefistofaust)
Member
Username: mefistofaust

Post Number: 11
Registered: 08-2007
Posted on Tuesday, August 14, 2007 - 04:07 pm:   

Dear Robert
I think I got what you said (NATURAL(u)=normal(k*grad(u))).
Thanks for your excellent comment and your help on this script. I hope the second problem will be done better from me :-)

Thanks
Jelena
application/octet-streamheat
1.1_FlexPDE_5.pde (2.3 k)

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