Change the gravity vector

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
andrea28
Posts: 41
Joined: Fri Apr 15, 2016 7:25 pm

Change the gravity vector

Post by andrea28 »

Hello,
is it possible to have only a portion of the domain with the influence of gravity?
Which routine should I use?

Regards,

Andrea
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: Change the gravity vector

Post by Yvan Fournier »

Hello,

No, this is not directly possible, but you could use zero gravity and use volume velocity source terms in specific regions only with the ustsns user subroutine (in cs_user_source_terms.f90).

Regards,

Yvan
Post Reply