CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with adding the baffles to the the boundary patches made by createpatch (https://www.cfd-online.com/Forums/openfoam-solving/231475-problem-adding-baffles-boundary-patches-made-createpatch.html)

efsolat November 6, 2020 15:34

Problem with adding the baffles to the the boundary patches made by createpatch
 
Hello
I have made three baffles (by createBafflesDict) and 17 patches (using createPatchDict). Each utility works well independently but i need that the result of one utility to be added to the result of the other utility in boundary file i.e. to have 20 boundaries after running both utilities. I have no idea about how to do it.


Any advise would be helpful
Best Regards

tomf November 10, 2020 09:16

Hi,

I gues you can use the -overwrite option when running these utilities?

Best Regards,
Tom

efsolat November 10, 2020 16:57

Thank you very much Tom,

I did not find any examples on how to disable overwriting. Could you please explain a bit more about it?
Regards

efsolat November 11, 2020 10:02

Quote:

Originally Posted by tomf (Post 787325)
Hi,

I gues you can use the -overwrite option when running these utilities?

Best Regards,
Tom


Thank you very much Tom,

I did not find any examples on how to disable overwriting. Could you please explain a bit more about it?
Regards

tomf November 12, 2020 05:13

Hi,

I meant that you should make sure you will overwrite your current mesh and not make a new mesh in a new time step, which is usually the default behavior. I would expect this to work:

Code:

cd <caseFolder>
createBaffles -overwrite
createPatch -overwrite

Cheers, Tom


All times are GMT -4. The time now is 20:34.