Dear all,
Thank you for previous answers!
Now I have a few tricky questions:
Lets say I have a mesh
mesh = Grid1D(dx = dx, nx = nsteps)
x = mesh.getCellCenters()[...,0]
x is now a space variable of my problem.
How many steps in space is it essential to use for the convection problem? (see
PDE solution problem thread for details).
In what way the number of steps in space changes the solution precision?
I would like to have small steps in space at least near 0 (i.e. 0, 0.001, 0.002
... ). This is needed for my further research.
I experimented a bit and found that fipy slows down dramatically when number of
steps in space increases (as N^2)! That's why I thought of logarithmic scale so
that all space dependent functions would now depend on 10^x. I met a problem,
however: ARE THERE NEGATIVE NUMBERS ON THE MESH? For example, I would like to
have a range of x (-3,3) what would respond to the range (0.001,1000) with
1000000 steps if had to do this detalization in linear scale. This number of
steps is impossible for fipy ...
Could anybody help in solving this issue?
Thanks in advance for all answers.
Cheers,
Igor.