Comments (7)
Thank you very much, I wrote to Mr. Guido regarding this typo.
from calculix-examples.
The problem could be solved by making "dat2txt.py" accepting "for set" as well as "forset".
Removing the space character after "for" in line 11 of dat2txt.py should do the trick.
pH = re.compile(' (.+) for .*set\s(\S+) and time (.+)')
However, I don't remember why I didn't just ask for "for set". If I find time to do tests I'll see if the trick works without side effects. Let me know if the fix is safe.
from calculix-examples.
Could you please provide an example input and the .dat-file you generate? (The link in your post doesn't work)
Is the problem in dat2txt not extracting data which actually are in the .dat file?
Or are the data missing in .dat already?
as to a) What would you expect? There is no point in summing up element strains.
as to b) What are you expecting for the totals of E and U?
as to c) Thanks for the feedback, never tested dat2txt with SDV requests. Good to hear that it works.
from calculix-examples.
Hi Martin,
I want the program dat2txt to create a file (for E in *EL PRINT) strain elem, integ.pnt., exx, eyy, ezz, exy, exz, eyz_XYZ (as for S in *EL PRINT) from the .dat file.
My inputs (.inp, .fbd, .dat):
inputs.zip
from calculix-examples.
Hi 3rav,
There is a typo on the Fortran subroutine that prints the *.dat file - the strains line has the word "forset" together as one word, as opposed to "for set" (two separate words).
Look at line 30 of your *.dat file.
You can edit the Fortran subroutine in ccx to address this and recompile.
Looking at ccx_2.15, the Fortran file should be "printout.f" and lines should be 252 and 283:
You can edit these two lines and recompile. Then test with the dat2txt script :)
Thanks,
from calculix-examples.
Hi Dr. Kraska,
That's a good point. I went the other way, trying to fix the typo in the source code, because I thought others may use their own scripts and maybe were not getting the right information. I also contacted Dr. Dhondt to let him know about it.
So far the fix in the ccx source code works great with your "dat2txt.py" script. Thanks for your work!
from calculix-examples.
That's open source community at it's best! Let's hope that your fix finds it's way into the official CCX release.
from calculix-examples.
Related Issues (20)
- IOError: Elements/Solid/test.py HOT 1
- sh: 1: ng_vol: not found HOT 1
- Keep output files HOT 4
- CalculiX model files extensions HOT 1
- Mistake in example ./Test/Supports1 HOT 1
- Drahtbiegen/Zug/test.py HOT 2
- Discord channel for Calculix HOT 4
- Error running "run_all.py" HOT 2
- Virtual elements HOT 4
- Modelling different elasto-plastic behaviour in tension and compression HOT 3
- Displacement as a load HOT 2
- Contact Pair doesn't work
- issue with param.py and floor() function HOT 2
- Import SETs into assembly (referring to the Contact tutorial) HOT 1
- Please, move to the Calculix organization
- Cannot run Contact/Shell0 HOT 3
- dat2txt.py: handle output of example Contact/Penalty
- New script, fit material parameters
- New option param.py
- Benchmark examples of Nastran with theoretic values HOT 4
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 calculix-examples.