Tell me more ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

I'm having some troubles implementing a collocation method to solve a stochastic partial differential equation of the form:

$\nabla (a(x,w)\nabla u(x,w))=f(x,w)$ in $D$,
$u=g$ in $\partial D$
where $w$ is a vector of uniformly distributed random variables and a(x,w) is a randomly distributed coefficient.

I have read a few papers on the subject, and I have a very basic understanding of the theory behind using smolyak sampling in the collocation method. I think I could make a lot more sense of it by seeing how a particular example is coded from start to finish. I found this reference with code provided here for the galerkin method. I can't seem to find another example with the collocation method implemented.

share|improve this question

1 Answer

check this : http://people.sc.fsu.edu/~jburkardt/m_src/sandia_sparse/sandia_sparse.html this may help you. this is for just points. also this is very nice tool box http://www.ians.uni-stuttgart.de/spinterp/ you can generate the points in space and then use deterministic finite element solver to evaluate those points and then calculate the statistic of the responses.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.