comsol错误提示及解决方法Word文件下载.docx
《comsol错误提示及解决方法Word文件下载.docx》由会员分享,可在线阅读,更多相关《comsol错误提示及解决方法Word文件下载.docx(20页珍藏版)》请在冰豆网上搜索。
MeshGeneration
5000–5999
Point,Edge,Boundary,andSubdomainSpecification
6000–6999
AssemblyandExtendedMesh
7000–7999
Solvers
8000–8999
Postprocessing
9000–9999
General
Forerrormessagesthatdonotappearinthefollowinglists,contactCOMSOL’ssupportteamforhelp.
2000–2999GeometryModeling
Table2-2:
geometrymodelingerrormessages
Errornumber
errormessage
Explanation
2118
Negativeoutputfromemptyinput
IncorrectGeometryM-file.
2119
Nonscalaroutputfromemptyinput
2120
Normaldirectionsareinconsistent
IncorrectinputdatafromSTL/VRMLimport.
2138
Selfintersectionsnotsupported
Curvesresultinginself-intersectionsarenotsupported.
2140
Singularextrusionsnotsupported
Errorininputparameters.
2141
Singularrevolutionsnotsupported
Therevolvedmeshhasasingularityatthezaxis.Ifpossible,createthecylinderusinga3Dprimitiveorbyrevolvingthegeometrybeforemeshing.
2146
Subdomainmustboundedatleastfourboundarysegments
Incorrectgeometryformappedmesh.
2147
Subdomainmustboundoneconnectededgecomponentonly
2190
Invalidradiusordistance
Incorrectinputparameterstofillet/chamfer.
2197
Operationresultedinemptygeometryobject
Geometryoperationresultedinanemptygeometryobjectwhichisnotallowed.Makesureanemptygeometryobjectisnotcreated.
2209
Geometrytorevolvemaynotcrossaxisofrevolution
Theaxisofrevolutionandthegeometryintersect.Checkthedimensionofthegeometryandthedefinitionoftheaxisfortherevolution.
4000–4999MeshGeneration
Table2-3:
meshgenerationerrormessages
errornumber
4002
Adegeneratedtetrahedronwascreated
Themeshgeneratorranintonumericaldifficultieswhilecreatingtetrahedronswithasizebasedonuser-controlledparameters.Causescouldbetoosmallandnarrowsubdomainsrelativetotherestofthegeometryorexceedinglyshortboundarysegments.Trytoavoidcreatingsmallandnarrowsubdomainsandveryshortboundarysegmentsthatareadjacenttolongerboundarysegments.
4003
Adegeneratedtrianglewascreated
Themeshgeneratorranintonumericaldifficultieswhilecreatingtriangleswithasizebasedonuser-controlledparameters.Causescouldbetoosmallandnarrowsubdomainsrelativetotherestofthegeometryorexceedinglyshortboundarysegments.Trytoavoidcreatingsmallandnarrowsubdomainsandveryshortboundarysegmentsthatareadjacenttolongerboundarysegments.
4012
Cannotcreatemappedmeshforthisgeometry
Thegeometrydoesnotfulfillthetopologicalrequirementsforamappedmesh.Changesininputparametersorfurthersubdomaindivisioncanpossiblyhelpthis.
4026
Failedcreatematchingedgediscretizations
Cannotmakemappedmeshwiththegiveninputparameters.
4029
Failedtoinsertpoint
Problemsinsertingpointatgivencoordinate.Manuallyinsertingapointtheremayhelp.
4031
Failedtorespectboundaryelementongeometryedge
Themeshgeneratorfailedinmakingtheelementscompatiblewiththegeometryobject’sedges.Thereasonforthiscouldbethatthefacemeshistoocoarseorcontainsadjacentelementswithlargedifferencesinscale.Anotherreasoncanbethatsomesubdomainsinthegeometryaretoonarrowwithrespecttotherestofthegeometry.
4032
Failedtorespectboundaryelementongeometryface
SeeErrormessage4031.
4044
Internalerrorboundaryrespecting
4054
Invalidtopologyofgeometry
Thegeometryobjectcannotbeusedforcreatingamappedmesh.Itmustbesubdivided.
4055
Isolatedentitiesfound
Entitiesthatarenotconnectedtotheboundariesofageometryobjectsisfound.Themappedmeshgeneratordoesnotsupportsuchisolatedentities.
4119
Singularedgedetected
Thegeometryobjectcontainsanedgeofzerolength.
6000–6999AssemblyandExtendedMesh
Table2-4:
assemblyandextendedmesherrormessages
6008
Circularvariabledependencydetected
Avariablehasbeendefinedintermsofitself,possiblyinacircularchainofexpressionvariables.Makesurethatvariabledefinitionsaresound.Becautiouswithequationvariablesinequations.
6063
Invaliddegreeoffreedomname
Thesoftwaredoesnotrecognizethenameofadegreeoffreedom.Checkthenamesofdependentvariablesthatyouhaveenteredforthemodel.SeealsoError7192.
6139
WrongnumberofDOFsininitialvalue
Thecurrentsolutionorthestoredsolutionhasforsomereasonthewrongnumberofdegreesoffreedom,sometimesduetoachangeoftheimplementationofelementsbetweentwoversionsofthesoftware.Toovercometheproblem,gototheInitialvalueareaintheSolverManager,andselectInitialvalueexpression.Thentheinitialvalueexpressionsisevaluatedwithoutusingthecurrentorstoredsolution.
6140
Wrongnumberofdofsinlinearizationpoint
Thecurrentsolutionorthestoredsolutionhasforsomereasonthewrongnumberofdegreesoffreedom,sometimesduetoachangeoftheimplementationofelementsbetweentwoversionsofthesoftware.Toovercometheproblem,gototheValueofvariablesnotsolvedforandlinearizationpointareaintheSolverManager,andclicktheUsesettingfromInitialvalueframebuttonortheZerobutton.
6163
Dividebyzero
Apropertyinthemodelcontainsadivisorthatbecomeszero.Checktomakesurethatdivisionbyzerodoesnotoccurinanyexpressionorcoefficient.
6164
Duplicatevariablename
Avariablenamehastwodifferentdefinitions.Forinstance,thesamevariablenameappearstwoormoretimesforadependentvariable,aconstant,anexpressionvariable,oracouplingvariable.Removeorrenameoneofthevariables.
6170
Failedtoevaluatevariable
Anerroroccurredwhenevaluatingthevariable.ThedomainsinwhichCOMSOLMultiphysicstriedtoevaluatethevariableareindicated.Also,theerrormessageshowstheexpressionthatCOMSOLMultiphysicswasunabletoevaluate.Makesurethatyouhavedefinedthevariablescorrectlyintheindicateddomains.
6176
Attempttoevaluatereallogarithmofnegativenumber
Anexpressioncontainslog(a),whereabecomesnegativeorzero.Tomakethelogarithmwell-defined,makesurethata>
0.Often,abecomesonlyslightlynegative(duetoapproximationsinthesolutionprocess).Then,apossiblesolutionistouselog(a+e),whereeisasmallconstant.Anotherremedyistouselog(abs(a)).Ifyoudowanttohaveacomplexlogarithm,gototheAdvancedtabofSolverParametersandselecttheUsecomplexfunctionswithrealinputcheckbox.
6177
Matrixhaszeroondiagonal
Whentheequationshaveastructuresuchthatthestiffnessmatrix(Jacobianmatrix)haszerosonthediagonal,itisnotpossibletousethefollowinglinearsystemsolvers/preconditioners/smoothers:
allversionsofSORandDiagonalscaling(Jacobi).TrytheVankapreconditioner/smootherinstead.
6188
Outofmemoryduringassembly
Thesoftwareranoutofmemoryduringassemblyofthefiniteelementmodel.Seeerror7144regardinggeneralmemory-savingtips.
6194
Attempttoevaluatenon-integralpowerofnegativenumber
Anexpressioncontainsa^b,whereabecomesnegativeandbisnotaninteger.Tomakethepowerwell-defined,makesurethata>
0.Often,abecomesonlyslightlynegative(duetoapproximationsinthesolutionprocess).Then,apossiblesolutionistouse(a+e)^b,whereeisasmallconstant.Anotherremedyistouseabs(a)^b.Ifyoudowanttohaveacomplexnumbera^b,gototheAdvancedtabofSolverParametersandselectUsecomplexfunctionswithrealinput.
6199
Attempttoevaluaterealsquarerootofnegativenumber
Themodelcontainsasqrt(squareroot)functionthattakesthesquarerootofanegativenumber.Eithermakesurethatthesquare-rootargumentisnonnegativeorselecttheUsecomplexfunctionswithrealinputcheckboxontheAdvancedtabintheSolverParametersdialogbox.
6204
Undefinedfunctioncall
Anexpressioncontainsanundefinedfunctionname.CheckthatthefunctionnameiscorrectandthatthefunctionisinCOMSOLMultiphysics’orMATLAB’spath.
6206
Internalevaluationerror:
unexpectedNaNencountered
Not-A-Number(NaN)appearsunexpectedly.Apossiblecauseisimproperlydefinedcouplingvariables.Asafirststep,checkthatthedefinitionsofthesourceanddestinationdomainsofanycouplingvariablesorperiodicboundaryconditionsarecorrect.
6245
Unsupportedintegrationorder
Integrationorderistoohigh.Fortriangularelementstheordercanbeupto10,andfortetrahedralelementstheordercanbeupto8.Findmoreinformationinthesection“NumericalQuadrature”onpage505.
6259
FailedtoevaluatevariableJacobian
AnerroroccurredwhenevaluatingtheJacobianoftheindicatedvariable.ThedomainsinwhichCOMSOLMultiphysicstriedtoevaluatethevariableareindicated.Makesurethatyouhavedefinedthevariablecorrectlyintheindicateddomains.
7000—7999SolversandPreconditioners
Table2-5:
solvererrormessages
7001
Adaptiononlyimplementedfortetrahedralmeshes
Itisonlypossibletouseadaptivemeshrefinementin3Dformodelsusingtetrahedralmeshelements.Eitherturnoffadaptiveme