FDM#
- class reservoirflow.solutions.numerical.FDM(model, sparse: bool = True)#
Bases:
Solution
FDM solution class.
FDM is a Finite-Difference-Method.
- Returns:
Solution object.
- Return type:
Create Finite-Difference-Method Solution.
- Parameters:
model (Model) – Model object.
sparse (bool, optional, default: True) – using sparse computing for a better performance.
Attributes
Methods
check_MB
([verbose, error_threshold])Material Balance Check
get_cell_eq
(cell_id)Return cell equation.
get_cells_eq
([threading])Return flow equations for all internal cells.
get_matrices_symb
([threading])Initialize flow equations' matrices (A, d).
get_matrices_vect
([threading])_summary_
run
([nsteps, threading, vectorize, ...])Perform a simulation run for nsteps.
solve
([threading, vectorize, check_MB, ...])Solve a single simulation tstep.
Comments 💬#
Feel free to make a comment, ask a question, or share your opinion about this specific content. Please keep in mind the Commenting Guidelines ⚖.