Define body force term in y-momentum equation

Dear all,

I am trying to simulate the natural convection in a partially heated rectangular enclosure as follows:

image

I need to add the body force term in y-momentum equation highlighted in the red box.

image

Can anyone give me some advice/guidance on which UDF I should start with and develop it?

Thank you in advance!

Please look for VBF in source_v_g.f

2 Likes