0
Where to add new field while using dsmcfoam?

Hi,

I am trying to modify the source code to add new field in dsmcfoam. I want to add this new field to include wall propertied via Field. I am confused about where to add the below mentioned field:

----------------------

newfield

(

volScalarField

(

I0object

(

"newfield"

mesh.time().timeName(),

mesh_,

I0object::MUST_READ,

I0object::AUTO_WRITE

),

mesh_

)

),

------------------------

Thanks

-Kevin


OpenFOAM 22-11-19, 9:47 a.m. kevin
0

Hi Kevin,

Can you please elloborate your issue. What exactly you want to include in the createField and why. Not able to get why you wanted to define newfield. Please send the problem in detail, will try to explore dsmcFoam and get back to you.

Thanks,

Sathish

26-11-19, 11:20 a.m. sathish

Hi Sathish,

Thank you for the reply.

I want to simulate physical vapor deposition. The best solver i found is dsmcfoamplus. I am using openfoam 2.4.0MNF. I have added an absorbing wall boundary condition on the wall (material is to be deposited on this wall). As per my understanding of the absorbing wall boundary condition, 95 percent of the particle striking the wall gets deleted. I want to capture those particles to find the properties (thickness, uniformity etc.) of the deposited material on the wall.

Thanks.

-Kevin


28-11-19, 12:51 p.m. kevin

Login to add comment


Log-in to answer to this question.