Search found 177 matches
- 14 Feb 2021, 21:38
- Forum: General
- Topic: A mesh for each body
- Replies: 5
- Views: 2724
Re: A mesh for each body
Thank you Kevinarden, I had completely overlooked the -unite option under ElmerGrid. And perhaps one day I can use those mortar conditions for turbomachinery studies where of course rotor-stator meshing involves non-coincident nodes. And, Peter, to answer your question, I believe Gmsh can only creat...
- 14 Feb 2021, 03:07
- Forum: General
- Topic: A mesh for each body
- Replies: 5
- Views: 2724
A mesh for each body
Good evening Say the domain is divided into 2 contiguous bodies. There would be a Body 1 section and a Body 2 section in the .sif I create the mymesh.msh file from Gmsh and the .sif contains Header Mesh DB "." "mymesh" End where the mymesh folder contains the files created from t...
- 31 Jan 2021, 23:45
- Forum: General
- Topic: how to restart under mpi
- Replies: 7
- Views: 2831
Re: how to restart under mpi
As I dont understand the effect of Output Intervals on other output routines. this is what I did: Simulation section ..... Timestep Intervals(1) = 1200000000 Timestep Size = Variable deltaT Real MATC "tx(0)" Output Intervals(1) = 0 Output File = "case.result" Binary Output = Logi...
- 30 Jan 2021, 23:48
- Forum: General
- Topic: how to restart under mpi
- Replies: 7
- Views: 2831
Re: how to restart under mpi
Sorry but what is the syntax to save just the last timestep for the Result file ? Could not find it in the Elmer Solver manual.
I guess it is a command to overwrite it at every time step.
Regards
Marc
I guess it is a command to overwrite it at every time step.
Regards
Marc
- 30 Jan 2021, 21:48
- Forum: General
- Topic: how to restart under mpi
- Replies: 7
- Views: 2831
Re: how to restart under mpi
It would be nice though if we could dispense with .result files altogether as they become ever larger as the simulation progresses since data from subsequent timesteps get appended to it. The .vtu contain the same information but as individual files, one for each timestep. It is more burdensome to o...
- 30 Jan 2021, 07:11
- Forum: General
- Topic: how to restart under mpi
- Replies: 7
- Views: 2831
Re: how to restart under mpi
Well from trial and error, I found out that only
Restart File = "case.result"
is accepted by ElmerSolver_mpi
Restart File = "case.result"
is accepted by ElmerSolver_mpi
- 30 Jan 2021, 00:30
- Forum: General
- Topic: how to restart under mpi
- Replies: 7
- Views: 2831
how to restart under mpi
Hi again if I ran mpirun -np 4 ElmerSolver_mpi myfile.sif up to the allotted time limit on the system, can i restart the simulation from the generated .vtu files with a single line Restart File = "case_t1000.pvtu (assuming my latest saved time index was 1000 for the sake of example) or do I hav...
- 30 Jan 2021, 00:11
- Forum: General
- Topic: How does ElmerSolver_mpi handle serial solvers
- Replies: 3
- Views: 1751
Re: How does ElmerSolver_mpi handle serial solvers
Actually I umwittingly lied. I do change field values at certain times: SUBROUTINE MySolver( Model,Solver,dt,TransientSimulation ) USE DefUtils ........ Print *, "voltage is", voltage IF(t==0)THEN CALL initaveEHD() open(1, file = 'timedata.txt', status = 'replace') ENDIF CONTAINS SUBROUTIN...
- 29 Jan 2021, 06:43
- Forum: General
- Topic: How does ElmerSolver_mpi handle serial solvers
- Replies: 3
- Views: 1751
How does ElmerSolver_mpi handle serial solvers
Good evening
Two of my solvers work on global variables only and also open and write to files on disk. If I have 4 partitions, I dont want ElmerSolver_mpi to call them 4 times per time step and I dont know if it is possible to call them only once per time step.
Thanks anyhow
Two of my solvers work on global variables only and also open and write to files on disk. If I have 4 partitions, I dont want ElmerSolver_mpi to call them 4 times per time step and I dont know if it is possible to call them only once per time step.
Thanks anyhow
- 24 Jan 2021, 04:23
- Forum: General
- Topic: unitialized time step size
- Replies: 3
- Views: 1717
Re: unitialized time step size
I thought initial and boundary conditions were meant to be used for field variables only. Following your suggestion, I initialized deltaT in the initial condition section and the code now works just fine.
Great thanks,
Marc
Great thanks,
Marc