CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   how to add DyM capabilities to an openFoam solver (https://www.cfd-online.com/Forums/openfoam-programming-development/137219-how-add-dym-capabilities-openfoam-solver.html)

donQi June 12, 2014 01:12

how to add DyM capabilities to an openFoam solver
 
Hello,

I was looking for some advice and/or tutorials/links to help me understand how to add DyM capabilities to an openFoam solver.

for example If I take buoyantPimpleFoam
what would be the main steps to create "buoyantPimpleDyMFoam" solver?

ansubru July 8, 2014 04:02

Hi Don!!

I am also looking into the same matter.. Did you make any progress?? Could you tel me if you were successful in your attempts?? I am trying to convert the lagrangian DPMFoam solver to a solver with DyM capabilities.. I have tried to adapt it to the same manner as a 'pimpleDymFoam solver'.. But i encounter the following compilation error ...

Code:

In file included from /home/ask/OpenFOAM/OpenFOAM-2.3.0/src/fvOptions/lnInclude/fvOptionList.H:41:0,
                from /home/ask/OpenFOAM/OpenFOAM-2.3.0/src/fvOptions/lnInclude/fvIOoptionList.H:38,
                from DPMDyMFoam_mod.C:40:
/home/ask/OpenFOAM/OpenFOAM-2.3.0/src/fvOptions/lnInclude/fvOption.H:53:24: fatal error: meshToMesh.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPDebug/DPMDyMFoam_mod.o] Error 1

Do you have any ideas what is the cause for this error??

Regards

ansubru

donQi July 13, 2014 21:39

Hi Ansubru

Code:

fatal error: meshToMesh.H: No such file or directory
compilation terminated.

it seems that the file not found during compilation is located in :
Code:

/src/sampling/lnInclude/meshToMesh.H
we can try to find a solver that uses similarly meshToMesh.H :
Code:

cd applications/solvers/
grep -R "meshToMesh.H" .

from the list we can choose for example
Code:

./multiphase/interFoam/interDyMFoam
Therefore my suggestion is to compare your Make/options file with the following
Code:

OpenFOAM-2.3.0/applications/solvers/multiphase/interFoam/interDyMFoam/Make/options
and add the libraries that are eventually missing from your file. Recompile and see if the error reappears.

From my side, my DyMization attempt is in stand-by.

koful July 15, 2014 03:44

Hi everyone. I am new on OpenFoam. I've just converted the 2D damBreak case to dynamic mesh. I don't know this will help you or not but for me, the main job was changing dynamicMeshDict.
good luck ;)

alexj April 21, 2017 10:03

I am also looking into creating a buoyantPimpleDyMFoam, that said a modified buoyantPimpleFoam solver that includes dynamic mesh refinement. Did anybody make progress on that?

Any tips or hints highly appreciated.

Kind regards,
Alex


All times are GMT -4. The time now is 10:24.