ff3d-users
[Top][All Lists]
Advanced

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

Re: [ff3d-users] Code to solve Fick's law, what's wrong??!!


From: Stephane Del Pino
Subject: Re: [ff3d-users] Code to solve Fick's law, what's wrong??!!
Date: Wed, 19 May 2004 16:44:03 +0200
User-agent: KMail/1.6.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

Le mardi 18 Mai 2004 23:29, Arun Viswanathan a écrit :
> Hi, I finally got dx to work,
Nice!

> but when I try to view the p1.dat file, I get a bunch of errors....
>
> 1. 'Warning' window that says 'Socket bufsize
> mismatch: rcv buffer (262144 131070)'
> 2. 'Warning<2>' window that says 'Socket bufsize
> mismatch: send buffer (262144 131070)'
> 3. 'Message Window' window that says 'ERROR: Import:
> internal error: unspecified error in import'

These are dx related errors, you should ask them to the dx users mailing
lists.
In my opinion, the simplest way to postprocess your data is to use medit
        http://www-rocq1.inria.fr/gamma/medit/medit.html
it is not a free software but you can download it for free.

> > 1. C0 is declared as a function C0 = x*y*z (and
> > assigned to C in every iteration), does this mean
> > that
> > I am solving for C in 3 dimensions?
Yes. Basically ff3d does only solve 3D problems!

> > 2. Since I don't have a specific scene, I have
> > created
> > an empty file called 'void.pov' and assigned that to
> > the scene. Is this necessary at all?
No. The scene is only used to generate a domain. But you do not have any of
it, so just forget the 'void.pov' file. This was an old syntax that is no
more needed

> > 3. Where is my result, solution? How do I get to see
> > what the concentration (C) is? I tried printing out
> > C
> > at  every iteration, but it seems like 'printf' is
> > not
> > accepted in fem3d!!
You have to use a C++ syntax-like:
cout << somthing << "\n";
This is one of the feature that is documented, so please look in the manual
for more details.

> > 4. Finally, in the output, what is 'pcg', 'gcg',
> > etc?
To solve the obtained linear systems, a Precondition Conjugate Gradient (PCG)
is used. To show that this algorythm converges to the solution the norm of
the residual (gcg) is printed to the screen.

Best regards,
Stephane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAq3KzbZyhKhZwdc0RAiCTAKCpobNoTDjnFhMQG9IHXaZqjpecAQCdGB0Y
v+bZMVrXX3o0DSNItDJ+bEY=
=56Kk
-----END PGP SIGNATURE-----




reply via email to

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