Face joining SCRIPT cs_mesh

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
jason_min
Posts: 4
Joined: Mon Mar 19, 2012 1:13 pm

Face joining SCRIPT cs_mesh

Post by jason_min »

It seems that I put my question in a wrong session...

How do we proceed the face joining work in script "cs_mesh" ?

I would like to do several face joinings, how to proceed ? (I have three mesh files .MED)

Thanks
========================================
void
cs_user_join(void)
{
int join_num;
/* Add a joining operation */
if (true) {
int verbosity = 1; /* per-task dump if > 1, debug level if >= 3 */
int visualization = 1; /* debug level if >= 3 */
float fraction = 0.10, plane = 1.;
join_num = cs_join_add("Jonction_P1_P2 or Jonction_P2_P1",
fraction,
plane,
verbosity,
visualization);

I should add the other face joinings just after the above lines.


what about the following lines, any modifications ?!

/* Read input mesh with no modification */
if (false) {
cs_preprocessor_data_add_file("mesh_input/mesh_01", 0, NULL, NULL);
}
--------------------------------------------
jiesheng
jason_min
Posts: 4
Joined: Mon Mar 19, 2012 1:13 pm

Re: Face joining SCRIPT cs_mesh

Post by jason_min »

I got the answer from Dorothée... It works now...

Thanks as well...

jiesheng
Post Reply