

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


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


Hi Kevin,
Were you able to solve your issue? If not, any modifications to the source code by addition of fields will have to be done as follows:
- the new field, your code snippet above, will have to be added in the header file "createFields.H"
- Corresponding solver modification(s) in your solve source code "dsmcFoam.C"
Hope this helps
Regards,
Ashley
Thank you Ashley. I am using dsmacFoamPlus solver. I will try your suggestions in dsmcFoamPlus.
-Kevin
Login to add comment
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