stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit a20021cab99e47d0889345e9353d0a2ec35c182c
parent 27c91d56f40bfdda3e6af27cd8c0d208abe3afc9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  1 Mar 2019 11:20:38 +0100

Clean-up the test_sdis_volumic_power4_2d test

Diffstat:
Msrc/test_sdis_volumic_power4_2d.c | 11+----------
1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/src/test_sdis_volumic_power4_2d.c b/src/test_sdis_volumic_power4_2d.c @@ -23,7 +23,7 @@ #define H 50.0 #define LAMBDA 100.0 #define DELTA (1.0/2.0) -#define N 10000000 +#define N 10000 /* * The 2D scene is a solid slabs stretched along the X dimension to simulate a @@ -332,17 +332,8 @@ main(int argc, char** argv) pos[0] = 0; pos[1] = 0.25; -#if 1 x = pos[1]; Tref = -Power / (2*LAMBDA) * x*x + Tf + Power/(2*H) + Power/(8*LAMBDA); -#else - tmp = LAMBDA / L; - T1 = H1 * (H2+tmp) / (tmp*(H1+H2) + H1*H2) * Tf1 - + H2 * tmp / (tmp*(H1+H2) + H1*H2) * Tf2; - T2 = H1 * tmp / (tmp*(H1+H2) + H1*H2) * Tf1 - + H2 * (H1+tmp) / (tmp*(H1+H2) + H1*H2) * Tf2; - Tref = T2 + (T1-T2)/L * (pos[1] + vertices[3]); -#endif time_current(&t0); OK(sdis_solve_probe(scn, N, pos, time_range, 1.f, -1, 0, 0, &estimator));