Hello all,
I am currently working with CADET for generating simulation data in the context of physics-informed neural networks (PINNs). I would like to access the time derivatives of the concentration field (dc/dt). My goal is to obtain a reliable dc/dt field over the full column domain to build a probability density for adaptive sampling.
I already enabled the solution recorder option:
column.solution_recorder.write_soldot_bulk = True
From my understanding, this should store the time derivatives internally (soldot). However, I am not entirely sure:
- How can I properly access the recorded soldot data after the simulation?
- Does
soldot_bulkcorrespond directly to dc/dt of the bulk concentration field, or are there any transformations/scaling applied internally? - What would be the way to export the full spatio-temporal derivative field (t, x) → dc/dt ?
- Would you recommend computing dc/dt externally (e.g. via
np.gradient) instead of relying on internal derivatives from CADET?
Thanks a lot in advance!
Konstantin