OpenFoam-Yade coupling fluid cell p,U at each time step

Asked by Anqi H

Hi everyone,

I was wondering if it was possible to generate the p,U data of the fluid cells at each time step? The same as openFoam where p,U data would be saved in a foler named with the time step. Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Deepak (deepak-kn1990) said :
#1

Hi,

This question is exclusive to openfoam, please restrict your questions to the coupling and the solver. The write interval settings can be found in the system/controlDict -> writeInterval and writeControl and so on..

Revision history for this message
Deepak (deepak-kn1990) said :
#2

For questions on openfoam, this is this best place :
https://www.cfd-online.com/Forums/openfoam/

Revision history for this message
Anqi H (analoq) said :
#3

Hi Deepak,

Thank you for your comment. I was using the same controlDIct for an openFoam case without DEM coupling, output files for each timestep were generated as expected. However, once I added the DEM coupling code, the script does not generate the output files anymore. Hence I was wondering it might be to do with the coupling solver?

Revision history for this message
Deepak (deepak-kn1990) said :
#4

I see, did you run the Foam case without particles in serial? Note in the coupling, openfoam is parallel, the solution dirs such as '0,0.005' etc in the case of parallel run are in directories 'processor0', 'processor1' etc. the solution files are in these, to read this data . see[1]

[1] https://yade-dem.org/doc/FoamCoupling.html#post-processing

Revision history for this message
Anqi H (analoq) said :
#5

Hi Deepak,

Thank you for your quick response. Processor 0,1 are exactly the folder I was looking for. Still have one question, what is the difference between these two folders? I noticed the values under the same time step in these two folders are different nut not sure why. Thank you.

Revision history for this message
Deepak (deepak-kn1990) said :
#6

In parallel runs, the domain is partitioned among the processors (based on a spatial domain decomposition algorithm, can be set in the system/decomposeParDict ). Hence the files in processor* corresponds to the solution of 'piece' of the domain. Please see[1]

[1]https://cfd.direct/openfoam/user-guide/v6-running-applications-parallel/

Can you help with this problem?

Provide an answer of your own, or ask Anqi H for more information if necessary.

To post a message you must log in.