I’m using the following input:
*INITIAL CONDITIONS, TYPE=TEMPERATURE
Nall, 20
20258,3000
20259,3000
20260,3000
20261,3000
However, when I check the .dat file and view the results in ParaView, the temperatures are converted into these values:
20258 -2.147484E+03
20259 -2.147484E+03
20260 -2.147484E+03
20261 -2.147484E+03
What could be causing this behavior? How can I ensure the temperatures remain correctly interpreted in CalculiX?
Please don’t ask me why,
if it could be a bug or for me other unknown kind of limitations,
but from my simple test, an initial temperature of 2147 seems to be the limit before the initial value turns be converted to a negative number
You cannot replace a .dll file to resolve this problem. You need to eliminate line
temperature=1.d-6*int(1.d6*temperature+0.5d0)
from the ccx source file initialconditionss.f. Then recompile the file initialconditionss.f and link its compiled counterpart initialconditionss.o to update the ccx executable.
I believe the line has been meant to limit the digits of the temperature to 6. Fortran is capable of dealing with 64 bit integers so the int should just be replaced with int8