This question is confusing. At first you are speaking of a steady-state equation, and suddenly you speak of a time scale...
I will try to clarify the following. From the numerical PDEs standpoint, you could classify physical phenomena as time-dependent or time-independent. LeVeque's book is a solid reference for this. Usually, time-independent phenomena are described via elliptic partial differential equations (PDEs), which can be discretized thus yielding a system of equations, whose solution represents an approximation for the state of the simulated system in a snapshot of time.
Two notes:
- A time-periodic dependence, yields time-independence when formulated in the frequency domain.
- If the PDE is linear/non-linear then the arising system of equations will be linear/non-linear... In the latter, clearly "linear algebra" methods won't suffice.
Time-dependent problems require time-wise integration. The Crank-Nicolson-method is usually used for time-dependent problems. In time-dependent problems, snapshots of the system behavior in time are solved progressively, and their temporal evolution is guided by the time integration method.
Your question seems to be mixing temporal dependence concepts. If you have an elliptic PDE (let us say it is linear), then you must discretize, using any space-oriented discretization methods. This will yield a linear system of equations with properties you can leverage in order to choose your method for solving it. Non-periodical time-dependent PDEs, e.g. parabolic PDEs, will require a time integration method. However, time integration methods can be explicit or implicit, and their numerical stability must be ensured. The choice of explicit vs. implicit, depends on how hard it is to ensure this numerical stability. Other aspects matter as well: Dispersion, physics-dependent grid refinement conditions, and numerical accuracy, among others.
In your situation, I would focus on solving the elliptic problem first. Once you understand this, proceed to introduce time dependence, and study which time integration method will yield the best results.
dz
is linked withdt
, and I do not know, how. $\endgroup$dz
, thus I am not sure why I need boundary conditions forz
? $\endgroup$