1,172 reputation
415
bio website
location
age
visits member for 1 year, 3 months
seen 8 hours ago
stats profile views 121

Dec
5
comment Small random disturbance of a flat surface
@acl, how do you plot Interpolation@Flatten[ Table[{{x, y}, 1 + .05*RandomReal[{-1, 1}]}, {x, 0, L + 1}, {y, 0, L + 1}], 1]? I tried putting it in a Plot3D function but that didn't work? Is that because its a Table now?
Dec
5
comment Small random disturbance of a flat surface
@acl your suggestion did work as an initial condition. I have to see what I can do about Vitaly's Spline initial condition.
Dec
5
comment Small random disturbance of a flat surface
@acl I think with a random number type ic, there would always be the ibcinc warning popping up. The whole SplineClosed->True helps with that. However, I am unable to use BSplineFunction in NDSolve as an ic. I was however, able to use ur suggestion with bsf = Interpolation@Flatten[ Table[{{x, y}, 1 + .05*RandomReal[{-1, 1}]}, {x, 0, L + 1}, {y, 0, L + 1}], 1]
Dec
4
comment Small random disturbance of a flat surface
@acl I have an inkling as to why I'm having an issue: my BSplineFunction isn't a function of x and y. How can I describe it to be a function of x and y? I think thats what NDSolve complains about when I try to use a spline surface.
Dec
4
revised Small random disturbance of a flat surface
added 73 characters in body
Dec
4
comment Small random disturbance of a flat surface
I am now almost certain that it isn't about boundary or initial conditions. I cant feed this spline into NDSolve is what is the problem. How does one do that?
Dec
4
comment Small random disturbance of a flat surface
@whuber Thank you. I'll look at the link.
Dec
4
comment Small random disturbance of a flat surface
I included an example. Maybe you can shed light on whats going on.
Dec
4
comment Small random disturbance of a flat surface
@whuber Sorry, but I barely understand the tech language that you just used. I've included an example with the bspline thingy and it errors out.
Dec
4
revised Small random disturbance of a flat surface
example provided
Dec
4
comment Small random disturbance of a flat surface
It probably is as I need to use Periodic boundary conditions. However, mathematica didn't scream at me that the initial and bound conditions are inconsistent like it would usually do for bad ics/
Dec
4
comment Small random disturbance of a flat surface
@whuber Good point. However, this seems rather computationally intensive.. like you point out.
Dec
4
comment Small random disturbance of a flat surface
Well, using this as initial condition didn't give me agreeable results. My initial condition is h[x,y,0]==BSplineFunction[RandomReal[1, {10, 10, 1}]] for quite a complicated PDE... I'll see if I can include a simple working problem.
Dec
4
comment Small random disturbance of a flat surface
So is this correct: RandomReal creates a random number array in the range (0,1) which is 30x30. Then this is fed into BSplineFunction to create a spline curve?
Dec
4
asked Small random disturbance of a flat surface
Nov
10
comment How to determine the remaining sides given the three angles and one side of a triangle?
@J.M. You seem to know a lot about Mathematica.... Are you skynet... er Mathematica? :P
Nov
5
comment Calculating the mean curvature of a surface - suggestions
@whuber +1! I'll do that. Calculate the curvature of a unit sphere.
Nov
5
comment Calculating the mean curvature of a surface - suggestions
@J.M. Oops! Will make the edit!
Nov
5
revised Calculating the mean curvature of a surface - suggestions
added 3 characters in body; edited title
Nov
5
comment Calculating the mean curvature of a surface - suggestions
@Artes I actually did. Doesn't seem to be the same thing. It does have certain functions that would be interesting though.