BasicOpenFOAMProgrammingTutorials icon indicating copy to clipboard operation
BasicOpenFOAMProgrammingTutorials copied to clipboard

Tutorial Request: Extending the lduMatrix class

Open klausbu opened this issue 8 months ago • 0 comments

A tutorial about how to extend the lduMatrix class with kind of a vector or maybe just a variable to store some data for use across timesteps in e.g. PCG or GAMG would be very usefull. I am not talking about adding a new field through createFields.H for use in a solver, there are many examples on the web and on the forum.

I tried to adapt your Tutorial 6 "OFtutorial06_customClasses" without success and ran into a multitude of complexities and eventually failed to find the right place to add the member functions so data can be accessed and modified from within e.g. PCG.C and GPT4 was no use.

klausbu avatar Jun 04 '24 10:06 klausbu