Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
FEMforHeatTransferProblems(FiniteElementMethod)Part2
whatwhenhow
InDepthTutorialsandInformation
FEMforHeatTransferProblems(Finite
ElementMethod)Part2
WeightedResidualApproachForFEM
Inthatcase,oneneedstoknowthefunctionalforthephysicalproblem.Formanyengineering
problems,onedoesnotknowthefunctionaloritisnotknownasintuitivelyasinmechanics
problems.Instead,thegoverningequationfortheproblemwouldbeknown.Whatwewanttodonow
isestablishFEMequationsbasedonthegoverningequation,butwithoutknowingthefunctional.In
thiscase,itisconvenienttousetheweightedresidualapproachtoformulatetheFEMsystem
equations.
ThegeneralformofEq.(12.1)canberewrittenintheform
wherethefunctionfisgivenas
Ingeneral,itisdifficulttoobtaintheexactsolutionof(,y)whichsatisfiesEq.(12.24).Therefore,
anapproximatedsolutionof(,y)issoughtfor,whichsatisfiesEq.(12.24)inaweightedintegral
sense,i.e.
whereWistheweightfunction.Wehopethatthesolutionof(,y)thatsatisfiesEq.(12.26)canbea
goodapproximationoftheexactresults.Thisisthebasicideabehindtheweightedresidualapproach.
Thisapproachisverysimple,andcanbeusedinthefiniteelementmethodtoestablishthediscretized
systemequationsasdescribedbelow.
Toensureagoodapproximation,theproblemdomainisdividedintosmallersubdomains
(elements),aswehavedoneinprevioustopics,asshowninFigure12.5.Ineachelement,itis
assumedthat
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
1/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
wherethesuperscripthindicatesthatthefieldvariableisapproximated,and
inwhichNiistheshapefunctionofxandy,andndisthenumberofthenodesoftheelement.
Figure12.5.Divisionofproblemdomainboundedbyintoelements.
ForthetriangularelementshowninFigure12.5,nd=3.InEq.(12.27),isthefieldvariableatthe
nodesoftheelement.Thereareanumberofwaysinwhichtheweightfunction,W,canbechosen
whendevelopingtheelementequations.Whentheshapefunctionsareusedastheweightfunction,
themethodiscalledtheGalerkinmethod,whichisoneofthemostpopularmethodsfordeveloping
theFEequation.
UsingtheGalerkinmethod,theresidualcalculatedatallthenodesforanelementisthenevaluated
bytheequation
Finally,thetotalresidualateachofallthenodesintheproblemdomainisthenassembledand
enforcedtozerotoestablishthesystemequationforthewholesystem.FEMequationswillbe
developedinthefollowingsectionsforoneandtwodimensionalfieldproblems,usingaheattransfer
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
2/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
problemasanexample.
IdHeatTransferProblem
OneDimensionalFin
ConsidertheonedimensionalfinshowninFigure12.6.Thegoverningdifferentialequationfora
steadystateheattransferproblemforthefinisgivenbyEq.(12.7).Theboundaryconditions
associatedwithEq.(12.7)usuallyconsistofaspecifiedtemperatureatx=0
andconvectionheatlossatthefreeend,wherex=H
wherebisthetemperatureattheendofthefinandisnotknownpriortothesolutionoftheproblem.
NotethattheconvectiveheattransfercoefficientinEq.(12.31)mayormaynotbethesameasthatin
Eq.(12.7).
Figure12.6.Onedimensionalproblem:heattransferinathinfinthatisdividedintonelements.
Usingthesamefiniteelementtechnique,thefinisdividedintoelementsasshowninFigure12.6.In
oneelement,theresidualequation,canbeobtainedusingtheGalerkinapproachasinEq.(12.29):
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
3/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
where
forheattransferinthinfins.Notethattheminussignisaddedtotheresidualmainlyforconvenience.
IntegrationbypartsisthenperformedonthefirsttermoftherighthandsideofEq.(12.32),leadingto
Usingtheusualinterpolationofthefieldvariable,,bytheshapefunctionsinthe1Dcase,
andsubstitutingEq.(12.34)intoEq.(12.33),gives
or
where
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
4/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
istheelementmatrixofthermalconduction.Matrix
inEq.(12.36)isdefinedby
whichisthematrixofthermalconvectiononthecircumferenceoftheelement.Vectorfgisassociated
withtheexternalheatappliedontheelement,definedas
Finally,b(e)isdefinedby
whichassociateswiththegradientofthetemperature(orheatflux)atthetwoendsoftheelement.
InEq.(12.37),
isthesameasthestrainmatrixinthecaseofmechanicsproblems.Forlinearelements,theshape
functionsareasfollows:
and
SubstitutingtheaboveequationintoEq.(12.37),theheatconductionmatrixisobtainedas
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
5/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
Inderivingtheaboveequation,D=kAhasbeenused.ComparedwithEq.(4.15),itcanbeseenthat
kD^isinfacttheanalogyofthestiffnessmatrixofatrussstructure.Thetensilestiffnesscoefficient
AE/lhasbeenreplacedbytheheatconductivitycoefficientofkA/l.
Similarly,toobtaintheconvectionmatrix
Eq.(12.42)intoEq.(12.38),
correspondingtotheheatconvection,substitute
Inderivingtheaboveequation,g=hPhasbeenused.ComparedwithEq.(4.16),itcanbeseenthat
kge)isinfacttheanalogyofthemassmatrixofatrussstructure.Thetotalmassofthetrusselement
AplcorrespondstothetotalheatconvectionrateofhPl.
ThenodalheatvectorfQisobtainedwhenEq.(12.42)issubstitutedintoEq.(12.39),giving
Inderivingtheaboveequation,Q=q+hPf(seeEq.(12.8))hasbeenused.Thenodalheatvector
consistsoftheheatsupplyandtheconvectionalheatinputtothefin.Thenodalheatvectoristhe
analogyofthenodalforcevectorfortrusselements.
Finally,letusanalysethevectorb(e)definedbyEq.(12.40),whichisassociatedwiththethermal
conditionsontheboundariesoftheelement:
wherethesubscriptsLandRstandfortheleftandrightendsoftheelement.Itcanbeeasilyproven
thatattheinternalnodesofthefin,b^andbevanishwhentheelementsareassembled,asillustrated
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
6/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
inFigure12.7.Asaresult,bneedstobedeterminedonlyforthenodesontheboundarybyusingthe
conditionsprescribed.Atboundarieswherethetemperatureisprescribed,asshowninEq.(12.30),b^
orbRareyettoknow.Infact,thereisnoneedtoknowb^orbR^inthestageofsolvingthesystem
equation,asthetemperatureatthenodeisalreadyknown.Thesituationisverymuchthesameatthe
prescribeddisplacementboundary,wherethereactionforceisusuallyunknownatthestageofsolving
systemequations.
However,whenthereisheatconvectionattheendsofthefin,asprescribedinEq.(12.31),bLorbR
areobtainedusingtheboundaryconditions,sincetheheatfluxtherecanbecalculated.
Figure12.7.Vectorb(e)vanishesatinternalpointsafterassembly.
Forexample,forboundaryconditionsdefinedbyEq.(12.31),wehave
Sincebisthetemperatureofthefinattheboundarypoint,wehaveb=],whichisanunknown.
Equation(12.49)canberewrittenas
or
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
7/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
where
and
NotethatEqs.(12.51)(12.53)arederivedassumingthattheconvectiveboundaryisonnode],which
istherightsideoftheelement.Iftheconvectiveboundaryisontheleftsideoftheelement,wethen
have
where
and
Substitutingtheexpressionsforb(e)backintoEq.(12.36),weobtain
orinasimplifiedformof
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
8/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
where
and
Notethatandfe)existonlyifthenodeisontheconvectiveboundary,andtheyaregivenbyEqs.
(12.52)and(12.53)orEqs.(12.55)and(12.56),dependingonthelocationofthenode.Ifthe
boundaryisinsulated,meaningthereisnoheatexchangeoccurringthere,bothk^andf(e)vanish,
becaused^/dx=0atsuchaboundary.Afterobtainingtheelementmatrices,theresidualdefinedby
Eq.(12.58)isassembled,andenforcedtoequatetozero,whichwillleadtothefollowingglobal
systemequation:
Theaboveequationhasthesameformasthatforastaticmechanicsproblem.Thedetailedassembly
processisdescribedintheexamplesthatfollow.
DirectAssemblyProcedure
Consideranelementequationofresidualintheform
orintheexpandedform
Considernowtwolinearonedimensionalelements,asshowninFigure12.8.Wehaveforelement1,
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
9/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
Figure12.8.Assemblingoftwoelementsdemonstratingthedirectassemblyprinciple.
andforelement2,
Thetotalresidualatanodeshouldbeobtainedbysummarizingalltheresidualscontributedfromall
theelementsthatareconnectedtothenode,andthetotalresidualshouldvanishtoensurethebest
satisfactionofthesystemequations.Wethenhaveatnode1,
atnode2,
andatnode3,
WritingEqs.(12.68),(12.69)and(12.70)inmatrixformgives
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
10/11
13/3/2016
FEMforHeatTransferProblems(FiniteElementMethod)Part2
whichisthesameastheassemblyprocedureintroducedinSection3.4.7andExample4.2.
Nextpost:FEMforHeatTransferProblems(FiniteElementMethod)Part3
Previouspost:FEMforHeatTransferProblems(FiniteElementMethod)Part1
RelatedLinks
TheFiniteElementMethod
ComputationalModelling(FiniteElementMethod)
IntroductiontoMechanicsforSolidsandStructures(FiniteElementMethod)Part1
IntroductiontoMechanicsforSolidsandStructures(FiniteElementMethod)Part2
IntroductiontoMechanicsforSolidsandStructures(FiniteElementMethod)Part3
FundamentalsforFiniteElementMethodPart1
::SearchWWH::
Search
CustomSearch
HelpUnprivilegedChildrenCareersPrivacyStatementCopyrightInformation
http://whatwhenhow.com/thefiniteelementmethod/femforheattransferproblemsfiniteelementmethodpart2/
11/11