Hi Al,
This is not a related problem. Anaway, sharing the sif file would help. Its probably a syntax problem therein.
-Peter
Run Time Error
Re: Run Time Error
Hi all,
i added some 'large file support' to svn trunk. Still on 32bit windows ElmerSolver must
be built using very recent development version of gcc/gfortran. The Elmer nightly
windows build is not yet there...
Juha
i added some 'large file support' to svn trunk. Still on 32bit windows ElmerSolver must
be built using very recent development version of gcc/gfortran. The Elmer nightly
windows build is not yet there...
Juha
Re: Run Time Error
Hi Peter,
thanks for the fast answer. Here's my sif-file:
I hope, this could help!
best regards
thanks for the fast answer. Here's my sif-file:
Code: Select all
Check Keywords Warn
Header
Mesh DB "." "ind_heat_2D_7"
Include Path ""
Results Directory ""
End
Simulation
Coordinate System = "Axi Symmetric"
Simulation Type = Steady State
Steady State Max Iterations = 30
Output Intervals = 1
Output File = "ind_heat_2D_7.result"
Post File = "ind_heat_2D_7.ep"
End
Constants
Permittivity Of Vacuum = 8.8542e-12
Stefan Boltzmann = 5.67e-8
End
Body Force 1
Current Density = 2.5e5
End
Body Force 2
Heat Source = Equals Joule Heating
End
Body 1
Name = "Air"
Equation = 1
Material = 1
End
Body 2
Name = "Coil_1"
Equation = 1
Material = 1
Body Force = 1
End
Body 3
Name = "Coil_2"
Equation = 1
Material = 1
Body Force = 1
End
Body 4
Name = "Workpiece"
Equation = 1
Material = 2
Body Force = 2
End
Equation 1
Name = "Vector Potential Equation"
Active Solvers(2) = Integer 1 2
Calculate Joule Heating = True
End
Solver 1
Equation = Potential Solver
Variable = Potential
Variable DOFs = 2
Angular Frequency = Real 20.0e3
Calculate Joule Heating = Logical True
Calculate Magnetic Flux = Logical True
Desired Heating Power = Real 3.0e3
Procedure = "StatMagSolve" "StatMagSolver"
Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Max Iterations = 300
Linear System Convergence Tolerance = 1.0e-10
Linear System Preconditioning = ILU1
Linear System ILUT Tolerance = 1.0e-03
Linear System Residual Output = 1
Nonlinear System Max Iterations = 1
Nonlinear System Convergence Tolerance = 1.0e-6
Nonlinear System Relaxation Factor = 1
Steady State Convergence Tolerance = 1.0e-6
End
Solver 2
Equation = Heat Equation
Variable = Temperature
Variable DOFs = 1
Linear System Solver = Iterative
Linear System Iterative Method = BiCGStab
Linear System Preconditioning = ILU1
Linear System Max Iterations = 350
Linear System Convergence Tolerance = 1.0e-9
Nonlinear System Max Iterations = 1
Nonlinear System Convergence Tolerance = 1.0e.07
Nonlinear System Newton After Iterations = 3
Nonlinear System Newton After Tolerance = 1.0e-12
Nonlinear System Relaxation Factor = 0.5
Steady State Convergence Tolerance = 1.0e-07
End
Material 1
Name = "Air"
Electric Conductivity = 0.0
Heat Conductivity = 0.0261
End
Material 2
Name = "Workpiece"
Electric Conductivity = 1.8E4
Heat Conductivity = 32.8
End
Boundary Condition 1
Target Boundaries = 1
Potential 1 = Real 0.0
Potential 2 = Real 0.0
Temperature = 298
End
Boundary Condition 2
Target Boundaries = 2
Potential 1 = Real 0.0
Potential 2 = Real 0.0
Temperature = 298
End
Boundary Condition 3
Target Boundaries = 3
Potential 1 = Real 0.0
Potential 2 = Real 0.0
Temperature = 298
End
Boundary Condition 4
Target Boundaries = 4
Potential 1 = Real 0.0
Potential 2 = Real 0.0
Temperature = 298
End
!End Of File
best regards
Re: Run Time Error
HI,
> Nonlinear System Convergence Tolerance = 1.0e.07
In "Solver 2"-section of the .sif file you have a malformed
number in the above setting.
Regards, Juha
> Nonlinear System Convergence Tolerance = 1.0e.07
In "Solver 2"-section of the .sif file you have a malformed
number in the above setting.
Regards, Juha
Re: Run Time Error
Hi Juha,
thank you very much, you're right! It's working!
I think I haven't seen the forest for the trees!!
Best regards!!
Al.X
thank you very much, you're right! It's working!
I think I haven't seen the forest for the trees!!
Best regards!!
Al.X
Re: Run Time Error
Hi,
i've been doing some digging 'bout the apparent 2GB limit to ElmerSolver results
files when run on a 32 bit Windows system. As it turns out, the limit is still there,
even if compiled with recent gcc. This is due to a bug in gfortrans io-library. I'll
keep you posted on the developments, but it might take a while more to have this
fixed....
Regards, Juha
P.S. You of course also need a file system capable of supporting large files, such
as NTFS. FAT32 on windows systems, by definition, does not support large files.
i've been doing some digging 'bout the apparent 2GB limit to ElmerSolver results
files when run on a 32 bit Windows system. As it turns out, the limit is still there,
even if compiled with recent gcc. This is due to a bug in gfortrans io-library. I'll
keep you posted on the developments, but it might take a while more to have this
fixed....
Regards, Juha
P.S. You of course also need a file system capable of supporting large files, such
as NTFS. FAT32 on windows systems, by definition, does not support large files.
Re: Run Time Error
Does anyone have an example of a successful heat equation + induction (i.e., temperature contours)? SIF and GRID? that they would be willing to share?
Regards,
Jeff
Regards,
Jeff
-
- Site Admin
- Posts: 4832
- Joined: 22 Aug 2009, 11:57
- Antispam: Yes
- Location: Espoo, Finland
- Contact:
Re: Run Time Error
Hi
There is a newish example in tests/InductionHeating2, see
http://elmerfem.svn.sourceforge.net/vie ... nHeating2/
-Peter
There is a newish example in tests/InductionHeating2, see
http://elmerfem.svn.sourceforge.net/vie ... nHeating2/
-Peter
Re: Run Time Error
Thank you Peter--That's perfect!
Jeff
Jeff
Re: Run Time Error
Hi,
I reacitvate this thread because I have just met a similar problem: big mesh file and many timesteps. After 544 / 100 steps, I get
At line 2538 of file ModelDescription.f90 (unit = 31, file = '')
Fortran runtime error: Invalid argument
Elmer Rev. 5526, WIN XP 32 bit.
I have specified an output file to take as restart file for a subsequent simulation run, which has grown to ~2 GB at the time of the solver crash, so i think the cause is there. The Elmerpost file has "only" 790 MB. I need only the results of the last time step for the restart file. So my questions are:
1) Is there a means not to store all timestep results in the output file? Or can I tell the solver to write a separate output file for every time step?
2) Are there other file formats (e.g. produced by the result output solver) which can be used as restart file?
Thank you,
Matthias
I reacitvate this thread because I have just met a similar problem: big mesh file and many timesteps. After 544 / 100 steps, I get
At line 2538 of file ModelDescription.f90 (unit = 31, file = '')
Fortran runtime error: Invalid argument
Elmer Rev. 5526, WIN XP 32 bit.
I have specified an output file to take as restart file for a subsequent simulation run, which has grown to ~2 GB at the time of the solver crash, so i think the cause is there. The Elmerpost file has "only" 790 MB. I need only the results of the last time step for the restart file. So my questions are:
1) Is there a means not to store all timestep results in the output file? Or can I tell the solver to write a separate output file for every time step?
2) Are there other file formats (e.g. produced by the result output solver) which can be used as restart file?
Thank you,
Matthias