comsol错误提示及解决方法.docx

上传人:b****7 文档编号:8865055 上传时间:2023-02-02 格式:DOCX 页数:20 大小:24.70KB
下载 相关 举报
comsol错误提示及解决方法.docx_第1页
第1页 / 共20页
comsol错误提示及解决方法.docx_第2页
第2页 / 共20页
comsol错误提示及解决方法.docx_第3页
第3页 / 共20页
comsol错误提示及解决方法.docx_第4页
第4页 / 共20页
comsol错误提示及解决方法.docx_第5页
第5页 / 共20页
点击查看更多>>
下载资源
资源描述

comsol错误提示及解决方法.docx

《comsol错误提示及解决方法.docx》由会员分享,可在线阅读,更多相关《comsol错误提示及解决方法.docx(20页珍藏版)》请在冰豆网上搜索。

comsol错误提示及解决方法.docx

comsol错误提示及解决方法

Diagnostics:

ErrorMessages

ErrorMessages

ThissectionsummarizesthemostcommonerrormessagesandsolvermessagesgeneratedbyCOMSOLMultiphysics.Allerrormessagesarenumberedandsortedindifferentcategoriesaccordingtothefollowingtable.

Table2-1:

ErrorMessageCategories

Numbers

Category

1000–1999

ImportingModels

2000–2999

GeometryModeling

3000–3999

CADImport

4000–4999

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

IncorrectGeometryM-file.

2120

Normaldirectionsareinconsistent

IncorrectinputdatafromSTL/VRMLimport.

2138

Selfintersectionsnotsupported

Curvesresultinginself-intersectionsarenotsupported.

2140

Singularextrusionsnotsupported

Errorininputparameters.

2141

Singularrevolutionsnotsupported

Therevolvedmeshhasasingularityatthezaxis.Ifpossible,createthecylinderusinga3Dprimitiveorbyrevolvingthegeometrybeforemeshing.

2146

Subdomainmustboundedatleastfourboundarysegments

Incorrectgeometryformappedmesh.

2147

Subdomainmustboundoneconnectededgecomponentonly

Incorrectgeometryformappedmesh.

2190

Invalidradiusordistance

Incorrectinputparameterstofillet/chamfer.

2197

Operationresultedinemptygeometryobject

Geometryoperationresultedinanemptygeometryobjectwhichisnotallowed.Makesureanemptygeometryobjectisnotcreated.

2209

Geometrytorevolvemaynotcrossaxisofrevolution

Theaxisofrevolutionandthegeometryintersect.Checkthedimensionofthegeometryandthedefinitionoftheaxisfortherevolution.

 

4000–4999MeshGeneration

 

Table2-3:

meshgenerationerrormessages

errornumber

errormessage

Explanation

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

SeeErrormessage4031.

4054

Invalidtopologyofgeometry

Thegeometryobjectcannotbeusedforcreatingamappedmesh.Itmustbesubdivided.

4055

Isolatedentitiesfound

Entitiesthatarenotconnectedtotheboundariesofageometryobjectsisfound.Themappedmeshgeneratordoesnotsupportsuchisolatedentities.

4119

Singularedgedetected

Thegeometryobjectcontainsanedgeofzerolength.

 

6000–6999AssemblyandExtendedMesh

 

Table2-4:

assemblyandextendedmesherrormessages

errornumber

errormessage

Explanation

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

errornumber

errormessage

Explanation

7001

Adaptiononlyimplementedfortetrahedralmeshes

Itisonlypossibletouseadaptivemeshrefinementin3Dformodelsusingtetrahedralmeshelements.Eitherturnoffadaptiveme

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 农学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1