about the new material
Moderators: silvia, selimgunay, Moderators
-
- Posts: 4
- Joined: Tue Mar 08, 2011 5:12 pm
about the new material
I want to add a new material into OpenSees, but i never study the VC++. when i follow the steps in the http://opensees.berkeley.edu/wiki/index ... L_Creation
the VC++6.0 clew the follows:
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(44) : warning C4005: 'OPS_Export' : macro redefinition
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(42) : see previous definition of 'OPS_Export'
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(46) : warning C4005: 'OPS_Export' : macro redefinition
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(44) : see previous definition of 'OPS_Export'
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(284) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
ElasticPPCPP.dll - 1 error(s), 2 warning(s)
anyone can help me ? Thanks.
I use the OpenSees 2.2.2 , the Windows XP and VC++6.0
PS: anyone can upload some photos about this steps, or add me in the MSN: kgd_qkqp@msn.cn .
the VC++6.0 clew the follows:
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(44) : warning C4005: 'OPS_Export' : macro redefinition
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(42) : see previous definition of 'OPS_Export'
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(46) : warning C4005: 'OPS_Export' : macro redefinition
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(44) : see previous definition of 'OPS_Export'
e:\openseesdeveloper\openseesdeveloper\material\elasticppcpp\elasticppcpp.cpp(284) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
ElasticPPCPP.dll - 1 error(s), 2 warning(s)
anyone can help me ? Thanks.
I use the OpenSees 2.2.2 , the Windows XP and VC++6.0
PS: anyone can upload some photos about this steps, or add me in the MSN: kgd_qkqp@msn.cn .
Re: about the new material
you have an error in the source code.
-
- Posts: 4
- Joined: Tue Mar 08, 2011 5:12 pm
Re: about the new material
Ok, I found the problem, because I used the VC++6.0, now I use the VC++2008, the problem is not show.
But, there is another problem, when i run the OpenSees with the *.dll. the warns are follows:
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
LoadControl::update - model failed to update for new dU
WARNING NewtonRaphson::solveCurrentStep() -the Integrator failed in update()
StaticAnalysis::analyze() - the Algorithm failed at iteration: 0 with domain at load factor 0.1
OpenSees > analyze failed, returned: -3 error flag
Model Built
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying Newton with Initial Tangent ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying Broyden ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying NewtonWithLineSearch ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
PROBLEM Cyclic analysis: CtrlNode 002, dof 1, Disp=0.0000 mm
WHY? thanks.
But, there is another problem, when i run the OpenSees with the *.dll. the warns are follows:
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
LoadControl::update - model failed to update for new dU
WARNING NewtonRaphson::solveCurrentStep() -the Integrator failed in update()
StaticAnalysis::analyze() - the Algorithm failed at iteration: 0 with domain at load factor 0.1
OpenSees > analyze failed, returned: -3 error flag
Model Built
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying Newton with Initial Tangent ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying Broyden ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
Trying NewtonWithLineSearch ..
WARNING - ForceBeamColumn2d::update - failed to get compatible element forces & deformations for element: 1(dW: << 1.#QNAN)
Domain::update - domain failed in update
DisplacementControl::newStep - model failed to update for new dU
StaticAnalysis::analyze() - the Integrator failed at iteration: 0 with domain at load factor 981.356
OpenSees > analyze failed, returned: -2 error flag
PROBLEM Cyclic analysis: CtrlNode 002, dof 1, Disp=0.0000 mm
WHY? thanks.
Re: about the new material
QNAN stands for not a number .. either your fe model is wrong or your new material has some problems.
-
- Posts: 140
- Joined: Sun Oct 03, 2010 11:36 pm
- Location: Hong Kong
Re: about the new material
I met QNAN once, when I took a matrix of three dimensions as a int..
Research Assistant Professor, The Hong Kong Polytechnic University
guanlin@polyu.edu.hk
guanlin@polyu.edu.hk
-
- Posts: 1
- Joined: Mon May 16, 2011 12:52 am
- Location: Norway
- Contact:
Re: about the new material
Guess this problem is already solved? did QNAN worked
-
- Posts: 1
- Joined: Mon Jul 25, 2011 10:22 pm
- Contact:
Re: about the new material
too typical problem sory i dont know it
Specialize in writing: Term papers | Research papers