CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   COMSOL: boundary conditions using sampled vectors (

flying dutch April 29, 2009 12:54

COMSOL: boundary conditions using sampled vectors
Hi guys,
I'm a freshman in CFD and I'm starting using COMSOL. I don't know if there's any COMSOL specialist out there, anyway the problem I have is in programming with COMSOL Script: I'd like to set variable boundary conditions using vectors sampled in space so that when solving the pde problem the software would interpolate between the sampled values (the standard way to set space varying BC's would be to use analytical functions, but this is not good for what I need to do).
I saw in the documentation that it is possible to define user defined interpolating functions, but it seems the solver doesn't like it and gives me an error.
If someone already encountered such kind of problem, I would appreciate any kind of suggestion. Thanks in advance!


All times are GMT -4. The time now is 20:53.