Author |
Message |
Gustav Carlson (gurra_g)
New member Username: gurra_g
Post Number: 2 Registered: 06-2006
| Posted on Wednesday, July 12, 2006 - 05:41 pm: | |
Hello, I have been working on a one-dimensional problem for some time, however, the implementation is two-dimensional with NATURAL(u)=0 conditions at the y-ends. I would like to use the one-dimensional solution curve u(x) as boundary condition at y=0 and then use other in-outflux boundary conditions for the rest of the domain. what is the best way to do this? Sincerely Gustav Carlson |
Robert G. Nelson (rgnelson)
Moderator Username: rgnelson
Post Number: 656 Registered: 06-2003
| Posted on Thursday, July 13, 2006 - 02:11 pm: | |
1. Export a TABLE of values from the 1D calculation. Specify enough density to resolve the shape of the curve. 2. Import the table into the 2D script, using the coordinate redefinition form of the TABLE function Curve = Table('filename',X) 3. Use the imported data in your boundary condition VALUE(u) = curve (There are other ways to accomplish this, but this is probably the most straightforward).
|
|