Commit graph

68 commits

Author SHA1 Message Date
50b4258c8f Input file
This should not have been a single commit.

Now we have input files.

Also, I've restructured the code and renamed modules.
2025-04-10 11:56:05 +02:00
0c27b98e2e n_e as boundary condition
Now n_e is given as the density at the boundary and n_i at the boundary
is calculated once Z is known.

This aims to eliminate the iterative process.
2025-04-10 08:49:01 +02:00
af63194cb2 Corrections to Z naming and iteration model 2025-04-09 15:12:00 +02:00
052a4dc05e Corrections to tag v2.5
Small set of corrections to the tag v2.5.

Includes changes to python scripts to plot data.

Includes new 'fast' setup conditions that allow to output cases in an
hour or so with still a good CFL condition and grid resolution.
2025-04-08 16:32:59 +02:00
JHendrikx
deebbae229 Add python script for json to csv conversion of TtoZ data 2025-04-03 10:48:22 +02:00
JHendrikx
b73bc86a36 Add reader modules for TtoZ table 2025-04-03 10:35:23 +02:00
JHendrikx
57b111c24d Speed up calculations 2025-04-03 10:32:11 +02:00
JHendrikx
a03d39826d Add TtoZ table data to simulation 2025-04-03 10:31:37 +02:00
JHendrikx
a768be16f5 left align time output 2025-02-24 15:02:22 +01:00
JHendrikx
03dc8671a1 Fix fort.f40 mistake 2025-02-24 13:57:18 +01:00
JHendrikx
20b0547cb5 Add Zlist output 2025-02-19 12:42:06 +01:00
JHendrikx
d13146a31c Change boundary file module 2025-02-19 12:09:35 +01:00
JHendrikx
535797ce7e Add Z resolved output files 2025-02-18 11:22:31 +01:00
JHendrikx
367a39db00 Clean up output function calls 2025-02-18 11:20:14 +01:00
JHendrikx
6579f8c726 Clean up print statements 2025-02-18 11:19:54 +01:00
JHendrikx
870ca301d8 Clean up TtoZ 2025-02-18 11:19:27 +01:00
JHendrikx
a7a0c8494e Fix output function calls 2025-02-12 11:49:46 +01:00
JHendrikx
13fa6c7efd Add BC plotting routine 2025-02-10 12:19:23 +01:00
JHendrikx
a26af0d121 Add seperate Mom output files for Z species 2025-02-10 09:44:02 +01:00
JHendrikx
ce4ba4b212 Erase Zave array 2025-02-05 16:09:03 +01:00
JHendrikx
868c13e494 Set correct boundary conditions 2025-02-05 16:08:27 +01:00
JHendrikx
84b6b3cc22 Reorder print statements and boundary condition output 2025-02-05 16:07:53 +01:00
JHendrikx
de9ff3a2bb Reorder print statements and boundary condition output 2025-02-05 16:07:21 +01:00
JHendrikx
f3b2c71df5 Fix calculations with Z list 2025-02-04 17:25:14 +01:00
JHendrikx
23c5d5fb45 Use easiest case of 2 Zave values 2025-02-04 17:24:32 +01:00
JHendrikx
e17b2050c7 Return to conditions of master branch 2025-02-04 17:23:54 +01:00
JHendrikx
484e6bea72 Add Z injection index 2025-02-04 17:23:19 +01:00
JHendrikx
74f011adf4 Add Z_list 2025-02-04 14:24:15 +01:00
JHendrikx
a961066dd4 Reorder parallel computation inside Z loop 2025-02-04 13:23:40 +01:00
JHendrikx
d7c23d5577 Change b_i to sum_ni 2025-02-04 12:10:58 +01:00
JHendrikx
fd9826c09e Add ion charge density 2025-02-04 11:56:45 +01:00
JHendrikx
726b11d718 Change order of array dimensions 2025-02-04 11:15:04 +01:00
JHendrikx
3754c0b910 Add additional nZ rank to arrays 2025-02-03 20:56:04 +01:00
JHendrikx
ef5c94f114 Add TtoZ functionality and compare with input Zave 2025-02-03 16:08:23 +01:00
968c6ee787 Reorganizing calculation of db_dphi
I was not assuming that the first iteration in the N-R method for the
Poisson equation was fully quasi-neutral becuase db_dphi was calculated
as if we had a distribution of electrons different from ions.

It should be fixed now
2024-12-14 11:42:24 +01:00
15a3e200e7 Start of project in Gitlab 2024-12-12 10:13:38 +01:00
ed83caa03d Rename 2024-12-12 10:08:06 +01:00
dd7395b67d I forgot to rename files in git... 2024-12-12 10:05:55 +01:00
1c7bdde8f0 Preparation to push to git 2024-12-12 10:05:35 +01:00
b093ca5298 Polytropic electrons finally working!
There was a problem with one parenthesis in the wrong location. Now this
works and I am extremely happy, even if my face doesn't show it.
2024-12-11 08:50:54 +01:00
Jorge Gonzalez
ba4856c67b New boundary files. Now they follow Z = 22.5 T^0.6 2024-11-29 10:01:00 +01:00
db7077efc0 Smaller grid size and BC to ensure reaching a quasi-steady state after 80 ns in the domain 2024-11-28 10:57:27 +01:00
17021f8194 Adjust length and simulation time 2024-11-20 13:58:16 +01:00
73cb0a4afe Trying to fix polytropic electrons. Still not working... 2024-11-18 15:16:44 +01:00
a0aff96257 Forbot to update the Full Ablation case to the new BC 2024-11-18 13:35:25 +01:00
c0c10c9cb1 Changes in plotting scripts 2024-11-18 12:52:31 +01:00
3cbb0763ab Boundary files 2024-11-18 12:51:51 +01:00
f6aaf62dfb Change in parameters, improve stability
Finally I've fixed all issues with the electric potential. I think these
conditions are good to show the Diko's peak.
2024-11-18 12:50:47 +01:00
9ff307286e Potential at r0 is different from 0 now. Posibility of quasi-neutrality properly accounting for the electric field. 2024-11-15 16:00:14 +01:00
4511aede8c Nothing important 2024-11-13 12:52:54 +01:00