|February 11, 2011, 01:51||
How to add a source term like this!!
Join Date: Mar 2009
Posts: 13Rep Power: 9
Hi dear fomers....i want to solve following equation-
ddt(Cp,T)-laplacian(K,T)=S0 where S0=Io*exp(-(x*x+y*y)) where S0 is a laser beam moving with 10 cm/s velocity.Now..i am stuck at how to model this source term??.
kindly give your valuable suggestions....
|February 11, 2011, 03:34||
Join Date: Sep 2009
Location: Tehran, Iran
Blog Entries: 1Rep Power: 16
is x the first array of position vector ?
if yes , you can access to position vector in cell center with mesh.C() and in cell face with mesh.Cf() so
then source term would be
i guess some things like above code can help you
|Thread||Thread Starter||Forum||Replies||Last Post|
|problematic source term in UDS||ak6g08||Fluent UDF and Scheme Programming||6||February 10, 2015 01:19|
|additional subdomain source term||YJZ||CFX||1||July 13, 2010 19:02|
|Version 15 on Mac OS X||gschaider||OpenFOAM Installation||120||December 2, 2009 11:23|
|How can I add a source term||danielle||OpenFOAM Running, Solving & CFD||1||February 29, 2008 12:52|
|Add source term in species equation||zhou1||FLUENT||1||October 21, 2003 06:28|