CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

MovingCone tutorial and icoDyMFoam with addingremoving mesh layers

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2008, 02:20
Default Dear Sandeep Hi !!! I was w
  #21
Member
 
Mahendra
Join Date: Mar 2009
Location: Pune, Maharashtra, India
Posts: 65
Rep Power: 17
mahendra is on a distinguished road
Dear Sandeep Hi !!!

I was wondering as to how to use the "icoDyMFoam", I want to try the mixerVessel2D case from MRFSimpleFoam to be solved by using icoDyMFoam. But I am not getting how to initiate the case??
Do you have any cases which explains how to use "dynamicMeshDict" and also how to download the cases form threads like this.

Regards,
Mahendra.
mahendra is offline   Reply With Quote

Old   January 20, 2009, 16:12
Default Hello Community, to continu
  #22
New Member
 
patrick riemer
Join Date: Mar 2009
Location: Uni Stuttgart, Germany
Posts: 19
Rep Power: 17
patriem is on a distinguished road
Hello Community,

to continue the latest posts, i want to ask a final question concerning the mentionend topics:

- Can i run movingConeTopo from above under OF1.5 or OF1.4.1?

- If not, can i change/add files in that versions in order to run the file or do i have to install a dev-Version?

Thank you very much for a short info
Regards,
Patrick
patriem is offline   Reply With Quote

Old   January 20, 2009, 16:55
Default According to my last post, her
  #23
New Member
 
patrick riemer
Join Date: Mar 2009
Location: Uni Stuttgart, Germany
Posts: 19
Rep Power: 17
patriem is on a distinguished road
According to my last post, here the error messages when trying to start movingConeTopo (from the above)

in OF1.4.1:
--> FOAM FATAL IO ERROR : keyword laplacian(rAU,pcorr) is undefined in dictiona ry "/opt/OpenFOAM/caelinux-1.4.1/run/movingConeTopo/./system/fvSchemes::laplacia nSchemes"

file: /opt/OpenFOAM/caelinux-1.4.1/run/movingConeTopo/./system/fvSchemes::laplac ianSchemes from line 44 to line 47.

From function dictionary::lookupEntry(const word& keyword) const
in file db/dictionary/dictionary.C at line 146.




and in 1.5:
#0 Foam::error::printStack(Foam::-Ostream&) in "/home/wops/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::IOerror::abort() in "/home/wops/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 Foam::dictionaryEntry::stream() const in "/home/wops/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#3 Foam::dictionary::lookup(Foam::word const&, bool) const in "/home/wops/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#4 Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/home/wops/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
#5 Foam::fvMatrix<foam::vector<double> >::solve(Foam::Istream&) in "/home/wops/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"
#6 Foam::lduMatrix::solverPerformance Foam::solve<foam::vector<double> >(Foam::tmp<foam::fvmatrix<foam::vector<double> > > const&) in "/home/wops/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"
#7 main in "/home/wops/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"
#8 __libc_start_main in "/lib/i686/cmov/libc.so.6"
#9 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/wops/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/icoDyMFoam"

the same as rene payri. is there a simple possibility to modify one of these versions?

regards,
patrick
patriem is offline   Reply With Quote

Old   January 20, 2009, 17:56
Default Under Question 1, the answer i
  #24
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
Under Question 1, the answer is No and No.

Under Question 2, the answer is yes, but it will hurt. In retro-fitting changes, you are on your own. It would be easier to simply compile a complete -dev source code.

Good luck,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 27, 2009, 10:12
Default Hi, has anyone positive exp
  #25
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17
marico is on a distinguished road
Hi,

has anyone positive experience with using funkySetFields for setting displacement boundary conditions? For example the movement of a piston, depending on time...

Thanks for your help
Marco
marico is offline   Reply With Quote

Old   June 8, 2009, 06:12
Default movingConeTopFvMesh in Z direction
  #26
Member
 
norman1981's Avatar
 
Norman Del Puppo
Join Date: Mar 2009
Location: Hinwil, CH
Posts: 57
Rep Power: 17
norman1981 is on a distinguished road
Dear OpenFOAM users,

I modified the movingConeTopoFvMesh class and the movingConeTopo tutorial to make the cone moving in Z direction.
It seems that the tutorial run well in terms of mesh layer addition/removal because it behaves in the same way as the case moving in X direction.
The strange thing occurs on the pressure and velocity fields at the time step 7 and 8: here these quantities are really different comparing them between the two cases (see pictures), while they looks really similar in the rest of the simulation (see picture at time step 6 as ex).

Has someone an explanation about this behaviour?

I have also attached the blockMeshDict file and the modified movingConeTopoFvMesh class (movingPlungerTopoFvMesh).

Thank you

Regards

Norman
Attached Images
File Type: png time_step_6.png (46.6 KB, 114 views)
File Type: png time_step_7.png (66.0 KB, 94 views)
File Type: png time_step_8.png (43.7 KB, 87 views)
Attached Files
File Type: gz movingPlungerTopoFvMesh.tar.gz (6.2 KB, 85 views)
File Type: gz blockmesh.tar.gz (1.2 KB, 50 views)
norman1981 is offline   Reply With Quote

Old   May 20, 2013, 17:33
Default
  #27
Senior Member
 
kilroy's Avatar
 
Join Date: Mar 2013
Location: USA
Posts: 120
Rep Power: 13
kilroy is on a distinguished road
Hello,

I have just gone through the OpenFOAM's movingCone tutorial. I can see that, as the object moves to the right side, mesh on the right side is contracting and the mesh on the left side of the object is expanding. Please see the pictures attached (movingCone_initial.png and movingCone_last.png)

movingCone_initial.jpg

movingCone_last.jpg


After that, I tried to apply the same principles to a ship traveling through calm water making a 45 degree angle with the stream. I want to make the ship move 4 times the length of the ship, but my run crashes a little bit after the start. I think that is because the distortion of the mesh. Please see the pictures attached (ship_initial and ship_last)

ship_initial.jpg

ship_last.jpg


Do you know if there is a way to overcome that distortion problem? (Like updating and recreating the mesh in each step)

Thank you very much for your help in advance,

Kilroy
kilroy is offline   Reply With Quote

Old   September 11, 2013, 01:40
Default
  #28
New Member
 
deep
Join Date: May 2013
Posts: 1
Rep Power: 0
deep shekhawat is on a distinguished road
Dear
Can you tell me how to couple pimpleDymfoam and solidDisplacementFoam for simulation of FSI problems. It will be very useful for me. Also, please tell me about other methods to solve FSI problems like cantilever in cross flow.
Thank You
deep shekhawat is offline   Reply With Quote

Old   June 29, 2015, 15:47
Default please email me the movingValve.tgz file
  #29
New Member
 
shokat
Join Date: Apr 2015
Location: Iran,Amol
Posts: 9
Rep Power: 11
khatereh is on a distinguished road
hi,
i tried to download attached file,but it downloaded with UNK format!!!!!!!!!!
it dose not open in ubuntu
please email for me this file,
thanks alot
my mail:kh_akbarnezhad@yahoo.com
---------------------------------------------------------------------------------------------
Quote:
Originally Posted by idosil View Post
Hi Hrv,

1) your model movingConeTopo works fine.

2) I have looked around and made a model to study the dynamic mesh solver movingValveLayersFvMesh. At first I had problem with boundary conditions on the sliding faces but later have been able to resolve it. The case is given in the attached file movingValve.tgz .

Bye, Ido
khatereh is offline   Reply With Quote

Old   May 3, 2016, 13:38
Default
  #30
New Member
 
Tiago Botari
Join Date: May 2016
Posts: 1
Rep Power: 0
Botari is on a distinguished road
REF: Hi Hrv, 1) your model movin

Dear Ido,

how can I get the attached file (movingValve.tgz)? I tried to download but the link give me a file named movingValve-5423.unk

Thank you,
Tiago
Botari is offline   Reply With Quote

Old   July 29, 2016, 06:42
Default
  #31
New Member
 
hamed eshraghi
Join Date: Jan 2016
Posts: 3
Rep Power: 10
hamedhiv is on a distinguished road
Quote:
Originally Posted by khatereh View Post
hi,
i tried to download attached file,but it downloaded with UNK format!!!!!!!!!!
it dose not open in ubuntu
please email for me this file,
thanks alot
my mail:kh_akbarnezhad@yahoo.com
---------------------------------------------------------------------------------------------
you can simply rename .unk file to .tgz
hamedhiv is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
inflation layers for hexa mesh using icem cfd Apple CFX 4 January 6, 2012 01:12
Combined compressible flow and moving mesh with layers andersking OpenFOAM Running, Solving & CFD 4 March 1, 2011 10:40
Mesh Problem with icoDyMFoam yuhai OpenFOAM Running, Solving & CFD 5 January 14, 2009 15:57
Mesh Problem with icoDyMFoam yuhai OpenFOAM Running, Solving & CFD 0 January 12, 2009 18:53
Problem with icoDyMFoam tutorial matlie OpenFOAM Bugs 10 April 26, 2007 05:51


All times are GMT -4. The time now is 14:49.