Comments (6)
I see the error:
*** WARNING *** CP = 17.192 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
*** WARNING *** CP = 17.192 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
*** WARNING *** CP = 17.193 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
*** WARNING *** CP = 17.193 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
*** WARNING *** CP = 17.193 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
*** WARNING *** CP = 17.193 TIME= 11:37:20
Material for this node can not be determined. No failure criteria
calculations done at this node in POST1.
************************************************************************
The number of ERROR and WARNING messages exceeds 20.
Additional messages suppressed. See ( /local/simulation/file.err )
for suppressed messages.
************************************************************************
*GET __TEMP__ FROM NODE 9 ITEM=S TWSI VALUE= 225.000000
but surprisingly the value is correct 225.00
.
I am not sure how to get rid of the warnings without silence them forever.
from pymapdl.
I have a question regarding design:
If my model is clear (no nodes defined), the following query (get maximum define node ID):
mapdl.get_value("node", 0, "num", "maxd")
should:
a) Return 0.0
?
b) Raise a No nodes defined
error?
It should be noticed that MAPDL prints already a NOTE
message:
There are no NODES defined
from pymapdl.
I have a question regarding design:
If my model is clear (no nodes defined), the following query (get maximum define node ID):
mapdl.get_value("node", 0, "num", "maxd")
should: a) Return
0.0
? b) Raise aNo nodes defined
error?It should be noticed that MAPDL prints already a
NOTE
message:There are no NODES defined
I would prefer that 0.0 be returned but also keep the Note message.
from pymapdl.
How to keep the note message? We currently dont store any.
There are about 3 type of messages in MAPDL (error, warning and note), which we have, quite relaxed, related them to:
MAPDL | PyMAPDL |
---|---|
Error | Exception |
Warning | Warning |
Note | Nothing |
But as I said, this relationship is not enforced 1-to-1. Because MAPDL behaviour on Error is not very standarized. Some errors make MAPDL to exit, sometimes, it just keep going. Some errors are very redundant.
I feel I should probably enforce the following:
MAPDL | PyMAPDL |
---|---|
Error | Exception |
Warning | Warning |
Note |
But I think it could make PyMAPDL very verbose.
Other option could be trying to parse everything from MAPDL and create a sort of message queue. We can raise errors from there, and let the user check this queue for the rest of the messages.
But, MAPDL messages are not super standardised (sometimes you don't know when the error message ends).
from pymapdl.
@germa89
Adding a "FCTYP,ADD,TWSI" to the input file is the...more correct approach and does away with the issue. Sorry I missed that yesterday. Thing to watch out for is FCTYP is a post processing command while FC can be used in either /prep7 or /post1. I prefer to keep commands together that act together, if possible, so I redid the script and moved the FC to post processing and now the script runs as expected.
MIke
from pymapdl.
Let's keep approach A.
But definitely, this question about the messsages will keep popping up in the future.
from pymapdl.
Related Issues (20)
- Failed scheduled build
- Failed scheduled build HOT 1
- Remark on Documentation Notes for "PostProcessing.nodal_displacement(...)" and "PostProcessing.nodal_component_stress(...)" and maybe others? HOT 1
- Failed scheduled build HOT 3
- Failed scheduled build HOT 1
- ACCOPTION causes pymapdl run to fail HOT 7
- Failed scheduled build HOT 13
- Some examples are not plotting properly
- Better error handling
- Failed scheduled build
- Failed scheduled build
- Python versions outdated
- CLI documentation is not updated
- Array parameters retrieval fail when the size is very big HOT 1
- We need a `mapdl.screenshot` command
- Plotting nodal displacement results in one node being selected after the plot, but only when using CINT for crack calculation.
- TRNOPT command is not updated
- Eliminate redundancies regarding ``PYMAPDL_START_INSTANCE``
- Failed scheduled build HOT 1
- PyMAPDL and HPC clusters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymapdl.