Search found 177 matches
- 07 Mar 2023, 19:57
- Forum: ElmerSolver
- Topic: how to debug solvers
- Replies: 7
- Views: 600
Re: how to debug solvers
(gdb) run or (gdb) r indeed makes it run but you then have to do CNTL-C to stop it. Once it is stopped, you can now type (gdb) l mySolver.F90:1 (gdb) b mySolver.F90:1 or whatever you want and the commands now work ! They don't complain about no source file anymore. They even work if you first typed ...
- 07 Mar 2023, 05:08
- Forum: ElmerSolver
- Topic: how to debug solvers
- Replies: 7
- Views: 600
Re: how to debug solvers
Except that I still cannot debug: After running $ elmerf90 -O0 -g -DFULLDEBUG mySolver.so mySolver.F90 $ gdb ElmerSolver (gdb) l mySolver.F90:1 yields No source file mySolver.F90. (The folder where these commands are run contains a file ELMERSOLVER_STARTINFO and a file case.sif. The contents of file...
- 03 Mar 2023, 20:12
- Forum: ElmerSolver
- Topic: mpi version used
- Replies: 1
- Views: 220
mpi version used
Hi
Is there a simple way to check under which openmpi version, my current Elmer installation has been compiled with ?
Thanks
Is there a simple way to check under which openmpi version, my current Elmer installation has been compiled with ?
Thanks
- 28 Feb 2023, 01:04
- Forum: ElmerSolver
- Topic: how to debug solvers
- Replies: 7
- Views: 600
Re: how to debug solvers
I should have deleted or closed this thread before any replies since we went through all this in my Sep 2021 threads. I should first make it a habit of searching through my previous threads or journals as my memory evidently fails.
Apologies to all
Apologies to all
- 26 Feb 2023, 04:42
- Forum: ElmerSolver
- Topic: how to debug solvers
- Replies: 7
- Views: 600
how to debug solvers
Hi to all
Can gdb (or some other debugger) trace or break at a chosen line in a solver where of course the solver is listed in the SIF and the SIF is the argument to ElmerSolver or ElmerSolver_mpi ?
Have a nice week-end
Can gdb (or some other debugger) trace or break at a chosen line in a solver where of course the solver is listed in the SIF and the SIF is the argument to ElmerSolver or ElmerSolver_mpi ?
Have a nice week-end
- 15 Feb 2023, 20:12
- Forum: ElmerSolver
- Topic: Check for negative field values
- Replies: 1
- Views: 204
Check for negative field values
Hi
I could be wrong but shouldn't there be checks for negative densities in FlowSolver and for negative concentrations in AdvectionDiffusionSolver just to protect against potential numerical inaccuracies ?
Regards
I could be wrong but shouldn't there be checks for negative densities in FlowSolver and for negative concentrations in AdvectionDiffusionSolver just to protect against potential numerical inaccuracies ?
Regards
- 30 Jan 2023, 23:09
- Forum: ElmerSolver
- Topic: 2D solving with a 3D mesh
- Replies: 11
- Views: 1329
Re: 2D solving with a 3D mesh
Sometimes one needs a break. The Cuba sun indeed gave me fresh new ideas. Here is a minimalistic test case: perform StatElecSolver for a single 2D domain extruded in the 3rd dimension with only one cell. And no coupling to OpenFOAM. This is a pure Elmer problem. Now let Charge Density = 1.0e30 I kno...
- 19 Jan 2023, 02:42
- Forum: ElmerSolver
- Topic: 2D solving with a 3D mesh
- Replies: 11
- Views: 1329
Re: 2D solving with a 3D mesh
Well, fjimenez, ideally I would have used OF for the Poisson equation from the start 4 years ago. And then I would never have considered Elmer. But if you thoroughly search over CFD Online OpenFOAM posts, you will realize that you cannot solve one Poisson equation over two domains of different elect...
- 18 Jan 2023, 01:42
- Forum: ElmerSolver
- Topic: 2D solving with a 3D mesh
- Replies: 11
- Views: 1329
Re: 2D solving with a 3D mesh
Good day fjimenez First I dont have problems sending data back and forth between openfoam and elmer. As of my last post, I tried elmer and openfoam meshes with only one cell in the z-dimension (So both are 3D) . However in spite of Potential Grad 3 = Real 0.0 in the BC, StatElecSolver (solves Poisso...
- 15 Jan 2023, 06:49
- Forum: ElmerSolver
- Topic: 2D solving with a 3D mesh
- Replies: 11
- Views: 1329
Re: 2D solving with a 3D mesh
With the following SIF excerpt Header Mesh DB "." "Mymesh1" End Simulation Coordinate System = "Cartesian 2D" ....... where Mymesh1 is a 3D mesh, EOF will yield degenerate 3D elements and I suppose it would be stupid to try Header Mesh DB "." "Mymesh2&quo...