7535f5aaaa
EM boundary conditions should work now
2026-02-18 20:02:48 +01:00
d211ed9a71
Almost done with EM, not to modify the EM module itself
2026-02-18 15:14:59 +01:00
0379ea42c2
I have to change the init of the edges to include the EM boundaries now
2026-02-18 13:50:14 +01:00
4c72e68246
Boundaries for EM almost done
2026-02-18 13:31:38 +01:00
6a7c92f62f
Skeleton of boundaries for EM with new structure for mesh
2026-02-17 14:54:22 +01:00
4872bcc194
Forgot to rename submodule in makefile
2026-02-17 09:31:38 +01:00
0ae121e3b1
Rename of boundary module as I start with EM
2026-02-17 09:30:25 +01:00
f566776af2
New common module for mesh module to avoid repetition
2026-02-17 09:26:37 +01:00
6f8656bc21
Init for boundaries particles
2026-02-16 20:05:23 +01:00
6b96d56c9d
Init for edges changed. Now, input
2026-02-13 10:58:31 +01:00
defcf02466
Preparing to change the input
2026-02-10 18:46:37 +01:00
c1b6cf1b31
Now the deferred apply is pass and I made some generic boundaries to use internally
2026-02-10 17:22:56 +01:00
0ccf455986
Boundaries done. Now to change the input and edges
2026-02-09 18:43:59 +01:00
c78d92fa7d
Changing now boundaries
2026-02-09 15:22:41 +01:00
58e2fa7566
Working towards compilation with submodules
2026-02-09 13:52:52 +01:00
fbbb0d5d13
fPsi functions for edges
...
I need to make a common module for mesh, many functions for elements are
shared.
Also, try to reduce the 'select type' statements, but I don't know
enough Fortran for it.
2026-02-05 15:30:50 +01:00
e7e6e1bece
New BC for quasi-neutrality
...
Still, the adjustment it is not iterative.
I need to build new subroutines to gather values of edges.
2026-02-05 11:01:15 +01:00
13dde3b1f9
I need to ensure quasi-neutrality at the inlet with a new kind of BC
2026-02-04 22:43:59 +01:00
a1d5e20a09
Still not working
2026-02-04 20:15:05 +01:00
3272fa6662
Merge correction of Maxwellian
2026-02-04 14:27:45 +01:00
23bba31005
Fixed an issue with the random Maxwellian subroutines
2026-02-04 13:52:24 +01:00
4aa6e5aab2
Try to impose a reflection with drag
2026-02-04 11:23:26 +01:00
8ae558f3c8
Correction to ensure always correct direction in the injection
2026-02-04 11:23:03 +01:00
2b6ea0ff84
First attempt at working with a distribution function with u
2026-02-03 11:48:43 +01:00
159f2e7620
Trying partial reflection
2026-02-03 10:15:12 +01:00
8d5cb6a516
Wrong surface in edges
...
Some edges were calculating the area surface incorrectly, which was leading to wrong densities.
2026-02-02 14:31:58 +01:00
4747673d0a
Bones of boundary
2026-01-28 14:56:38 +01:00
1b1a574edc
Read initial
...
Now we can read an initial condition as we do with other formats.
Only documentation left.
2026-01-23 15:04:39 +01:00
d34e72d2e8
Collisions done
...
Thanks to the advance statement the output of collisions is done.
2026-01-23 14:51:49 +01:00
46b9f263ea
Average done
...
Now we can output averages in this format.
2026-01-23 14:26:39 +01:00
8c8c6409f6
Output for EM
...
The output for the EM field properties is done.
2026-01-23 12:16:52 +01:00
27158c7c1d
Output for species
...
First output done. Now it is mostly Copy Paste.
There are so many things I need to reform in other parts... Learning new things is awful.
2026-01-22 18:44:25 +01:00
3083e20ff7
Subroutine for reading mesh
...
It is now complete and working. I also added some minor improvements to moduleMesh.f90 using 'associate' to practice.
I noticed there are a lot of things (allocating K, for example) that are common for all meshes and should be moved to a general module.
2026-01-22 14:06:20 +01:00
7d4f4b98c3
Implementing input subroutines
2026-01-19 15:37:31 +01:00
9f9bacca7c
Skeleton implementation of text mesh for simple 1D cases.
2026-01-19 14:48:06 +01:00
d5bcf8ce50
Merge branch 'issue/triangles' into 'development'
...
Fixed issue with volume in triangles
See merge request JorgeGonz/fpakc!56
2025-10-11 12:01:28 +00:00
55e062a9ef
Fixed issue with volume in triangles
...
The right value in 2D Cartesian is used for calculating the volume.
2025-10-11 14:00:16 +02:00
dff9a87f0d
Implemenint injecting particles without direction
...
I was almost sure this was implemented in the past, but it was not working.
Now, if n = 0 or if n is not provided, particles are injected with the normal to the surface.
2025-08-08 19:27:27 +02:00
3d7b1ce476
Fixed!
...
So it seems that rectangles and triangles are now working properly.
I have also checked the phy2log routine, now it seems a bit more complicated, but it is much clearer.
Maybe in the future is worth rethinking to improve speed (specially for quad elements)
2025-08-03 22:14:19 +02:00
102fd013f3
Issue with triangles fixed
...
Now they give the right electric field.
I have to change 2DCyl.
However, there was some insonsistency between the change of coordinates in phy2log and the Jacobian for the K matrix. I fixed it putting a transpose() in phy2log, but I don't like that solution.
I need to review the basic procedure of phy2log.
2025-08-03 20:46:12 +02:00
7e193b9fa8
Minor changes, no improvement made yet
2025-08-03 15:32:55 +02:00
d86c8480f3
Fixed issue with some velocities. Still, at some point I need to rething all the injection thing.
2025-08-02 16:51:00 +02:00
4b040c35c3
Fixes to random variables
...
After reading some works and reviewing what I had, I've done some
corrections to how the randomb velicities in Maxwellian distributions
are calculated. These should be correct now.
2025-08-02 13:25:48 +02:00
78cb9a2453
No reflection of particles at injection, that should be a boundary condition
2025-08-02 10:31:06 +02:00
d1e73297eb
Adjust flux when no particlesPerEdge is used
...
This does not affects the cases of the IEPC, but I am also doing other
stuff.
2025-07-27 18:17:01 +02:00
8e531ede08
Vol_ref was the right answer
2025-07-27 17:16:57 +02:00
76c5af89b2
Merge branch 'IEPC2025' of gitlab.com:JorgeGonz/fpakc into IEPC2025
2025-07-27 17:15:36 +02:00
7f73b69dc2
Fix injection
...
Half-Maxwellian distribution should inject particles correctly
2025-07-27 17:14:38 +02:00
69215ef66d
Change in calculating ionization
...
I don't know why I normalizing density n_0 by Vol_ref and not n_ref
2025-07-22 19:52:39 +02:00
a2f9957f32
I am dumb
...
The Poisson equation was not working because I didn't finish
implementing the new type of BCs. Dirichlet is probably untested. I
should stop doing shitty developments and no testing.
2025-07-18 16:31:52 +02:00