ff3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ff3d-users] FF3D: Trying to used ff3d with several objects


From: Joerg R. Weimar
Subject: [ff3d-users] FF3D: Trying to used ff3d with several objects
Date: Wed, 26 Nov 2003 16:42:17 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312

Dear ff3d users,

I am rying to use ff3d with a simple laplace problem. Unfortunately, I cannot interpret the error messages I get.

The input files follow, th eerror message is:
.....
Generating Surface Meshes
Marching cube ... done
Sets 1 References

You provided the reference (0, 0, 1) that is not used to define
your computational domain. The possible references are
        (1, 1, 0)


Can anyone help?

Best regards, Jörg Weimar.

--
PD Dr. Joerg R. Weimar, Inst. f. Wissensch. Rechnen, TU-Braunschweig
address@hidden, http://www.tu-bs.de/institute/WiR/weimar
Tel. +49-531-391-3006  Mail: D-38092 Braunschweig

vector n = (21, 21, 31);
vertex a = (-200, -200, -100);
vertex b = ( 200, 200, 400);
mesh M = structured(n,a,b);
 
scene S = pov("jrwtest.pov"); // the pov-ray file for the geometry
domain O = domain(S,inside(<1,1,0>));
//domain O = domain(S);

// mesh lower = surface(<0,0,1>, S, M);
// mesh upper = surface(<1,0,0>, S, M);

solve(u) in O by M 
    memory(matrix=none)
{
   pde(u)
     - div(grad(u)) = 0;
     u = 5  on <1,0,0>;
     u = -5  on <0,0,1>;
};
save(opendx,"u.dat",u,M);
box {
   // Domain
   <-200, -200, -50>, <200, 200, 400>
   pigment {
      color rgb <1, 1, 0>
   }
}

sphere {
      // UpperElectrode
      <0, 0, 300>, 30
   pigment {
      color rgb <1, 0, 0>
   }
}
   
cylinder {
   // LowerElectrode
   <0, 0, -100>, <0, 0, 0>, 50
   
   pigment {
      color rgb <0, 0, 1>
   }
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]