CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Comments

Register Blogs Members List Search Today's Posts Mark Forums Read

This Blog will describe the process of creating a case that solves the rotation of a square with an incompressible solver. The project is already done and the information will be added to the blog in the near future.

The steps that are going to be explained are:
- Creating icoDyMFoam (incompressible dynamic mesh solver) from pimpleDyMFoam. IcoDyMFoam already exists in older versions of OpenFoam, however, it was created since version 1.7.1 does not include it.
- Solving movingCone tutorial with icoDyMFoam.
- Modifying cavity tutorial by: Adding a square obstacle in the middle.
- Solving the modified cavity case displacing the square.
- Solving the modified cavity case rotating the square.
- Run the application in parallel

If you are interested in some of the topics above, do not hesitate and contact me. As I said, it has already been developed and the information will be posted shortly.
  1. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Tanx Mc
    i wanna to add dynamic mesh into viscoelasticFluidFoam solver. my solver didnt include correctPhi.H so i copy it from the existing icoDyMFoam solver. but the error mentioned in the last post, still apeared
    would you send me your mail that i send my solver to you.
    mail: rasoul_varedi@yahoo.com

    tnx
    __________
    Rasoul
    permalink
    Posted August 3, 2011 at 04:29 by desert_1250 desert_1250 is offline
  2. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Rasoul,

    if I'm not mistaken, you should include a file called correctPhi.H in the folder where you have the solver. Try copying it from the folder of the existing pimpleDyMFoam, pimpleFoam or icoFoam, I think one of them has it.

    Good luck,

    Mc
    permalink
    Posted August 3, 2011 at 02:14 by McCarra McCarra is offline
  3. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Hi McCarra, i hope that you are well
    i added the lines mentioned above to the solver, but when i wanna compile it with wmake this error apears:
    'correctPhi' was not declared in this scope

    how to solve this problem?

    tanx
    ____________
    Rasoul
    permalink
    Posted August 2, 2011 at 05:57 by desert_1250 desert_1250 is offline
  4. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Hi Josť,

    Mmm, I actually thought that the tutorials for pimpleDyMFoam would help making the adaptation between 1.5 and 1.6. I also think it should be as easy as simply stating to use the laminar flow model to achieve the same results, but I could be wrong

    Nonetheless, you might want to check out OpenFOAM 1.6-ext, because the -Extend project kept the icoMyDFoam solver when evolving from 1.5-dev to 1.6-ext. You can see the code directly online here: icoMyDFoam git web-browsing
    The tutorials for it are also worth seeing, but they very likely will only work with 1.6-ext and not 1.6.x/1.7.x, at least not without some adjustments to fvSolution, if I'm not mistaken.

    Best regards,
    Bruno
    permalink
    Posted February 6, 2011 at 08:54 by wyldckat wyldckat is offline
  5. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Hello Bruno!

    I didn't know that icoDyMFoam was in pimpleDyMFoam since the restructuring of release 1.6. If I wanted to obtain the same results as in icoDyMFoam, what should I do? What I understood is that old icoDyMFoam is included in pimpleDyMFoam but there's no solver equivalent to icoDyMFoam then, am I right?

    Thanks for your interest and your help!
    Good idea to post it on openfoamwiki.net!

    Regards
    permalink
    Posted February 6, 2011 at 08:34 by McCarra McCarra is offline
  6. Old Comment

    openFoam 1.7.1 IcoDyMFoam CODE

    Greetings McCarra,

    Uhm, icoDyMFoam was integrated into pimpleDyMFoam: OpenFOAM 1.6 missing some solvers

    But nonetheless, this is a very good tutorial for learning the inner workings of OpenFOAM Very good work!
    When you manage to complete it, it would be great if it was also posted at openfoamwiki.net!

    Best regards,
    Bruno
    permalink
    Posted February 5, 2011 at 14:38 by wyldckat wyldckat is offline
  7. Old Comment

    icoDyMFoam on openFoam 1.7.1

    I am looking forward to your blog update :-)
    permalink
    Posted January 25, 2011 at 06:33 by jensjo jensjo is offline

All times are GMT -4. The time now is 13:07.