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

openFoam 2.2.0 & dynamicTopoFvMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By deepsterblue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 9, 2014, 07:50
Default openFoam 2.2.0 & dynamicTopoFvMesh
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Hello

I have openFoam 2.2.0 and want to try dynamicTopoFvMesh with it. Does anyone know if it will work?

Alternatively, is there any solver or setup of dynamicMeshDict in OF2.2.0 that supports mesh update as shown in the video in this link or in these pictures??

I have tried interDyMFoam for falling objects but it only seems to work fine when the final position of the falling object is close to its initial position.
Attached Images
File Type: jpg Screenshot from 2014-04-09 14:41:07.jpg (56.4 KB, 65 views)
File Type: jpg Screenshot from 2014-04-09 14:41:21.jpg (59.2 KB, 53 views)
File Type: jpg Screenshot from 2014-04-09 14:41:33.jpg (58.8 KB, 49 views)
vasava is offline   Reply With Quote

Old   April 9, 2014, 10:29
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Paritosh,

Yes - it should work with OpenFOAM-2.2.x. Once you clone the repository from github, you can switch to the Port-2.2.x branch by doing this:

git checkout Port-2.2.x

You can then follow the installation instructions in the ReadMe on that branch. If you'd like to experiment, perhaps you could help me port it to OpenFOAM-2.3.x by testing the compile and reporting errors to me.
sharonyue likes this.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   April 10, 2014, 01:23
Default
  #3
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Thanks Sandeep. I will try that and get back here.
vasava is offline   Reply With Quote

Old   April 10, 2014, 03:06
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
I tried following the installation instructions from the Install.txt file and it did not compile the solver.

Again I have openFoam 2.2.0 on ubuntu 12.04. I have openFoam installation is in the /opt folder and the solver folder on the desktop. Here is what I did.
  1. Open $FOAM_SRC/dynamicFvMesh/Make/files. BUT I did not edit it as the lines to be commented according to Install.txt were not there.

    I have attached the 'files' file.
  2. Execute ./Allwclean command.
  3. Execute ./Allwmake libso command.

I have attached the error file. I am not very good at c++ so you have to be bear with me!

For now I could only figure out that the Mesquite_all_headers.hpp file is missing.
Attached Files
File Type: txt dynamicTopoFvMesh_compile_log.txt (19.5 KB, 14 views)
File Type: txt files.txt (1.1 KB, 4 views)
vasava is offline   Reply With Quote

Old   April 10, 2014, 03:18
Default
  #5
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
May be this is due to the options file in
dynamicTopoFvMesh/mesquiteMotionSolver/Make .

Code:
EXE_INC = \
    -I$(MESQUITE_DIR)/include \
    -I$(LIB_SRC)/meshTools/lnInclude \
    -I$(LIB_SRC)/dynamicMesh/lnInclude \

LIB_LIBS = \
    -lmeshTools \
    -ldynamicMesh \
    -L$(MESQUITE_LIB_DIR) -lmesquite
The directories and files related to MESQUITE.
vasava is offline   Reply With Quote

Old   April 14, 2014, 05:35
Default
  #6
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Sandeep,

I installed mesquite-2.3.0 with following instructions
  1. Download source from https://software.sandia.gov/mesquite/
  2. In Bash: export MESQUITE_DIR=$WM_THIRD_PARTY_DIR/mesquite-x.x.x
  3. ./configure \
    --prefix=$MESQUITE_DIR \
    --enable-release \
    --disable-debug-assertions \
    --disable-igeom \
    --disable-imesh \
    --disable-irel \
    --enable-shared \
    --without-cppunit \
    --enable-trap-fpe \
    --disable-function-timers
  4. Once configured, proceed with 'make' and 'make install'
  5. In Bash: export MESQUITE_LIB_DIR=$MESQUITE_DIR/lib64

Next,
  1. Downloaded dynamicTopoFvMesh with git.
    git clone https://github.com/smenon/dynamicTopoFvMesh
  2. ./Allwmake

However again I got the same error (see attached log file). Again I would like to mention that my openfoam (version 2.2.0) installation is in /opt file, the dynamicTopoFvMesh solver folder is on desktop and the meshquite folder is in home.

Can you please check and guide me through this.
Attached Files
File Type: txt dynamicTopoFvMesh_compile_try2_log.txt (18.4 KB, 10 views)
vasava is offline   Reply With Quote

Old   May 21, 2015, 01:48
Default
  #7
Member
 
Join Date: Jul 2014
Posts: 39
Rep Power: 11
PicklER is on a distinguished road
Hi Paritosh

Just want to know if you got your dynamicTopoFvMesh working yet? I finally figured it out here.

As Sandeep said, right after you clone his repository, checkout as Port-2.3.x and only then do ./Allwmake.

There are some other things I did to ensure the libraries was included.

Kind regards
PicklER is offline   Reply With Quote

Old   May 21, 2015, 02:23
Default
  #8
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Hei PickIER,

Not yet. To be honest I kind of gave up due to lack of time. Meanwhile I switched to 2.3.0 and tried again but it did not work. I had a quick look at your thread and I suppose I need to switch to 2.3.x to make things work.

I am also discussing this issue with Bruno Santos (wyldcKat). Although its been sometime since he sent any response. You can see the thread here.

Thanks for the reply and pointing to your thread. I will read it carefully and get back if I need guidance.
vasava is offline   Reply With Quote

Old   May 21, 2015, 03:33
Default
  #9
Member
 
Join Date: Jul 2014
Posts: 39
Rep Power: 11
PicklER is on a distinguished road
Hi Paritosh

You are a step ahead of me I see. I am still trying to get the tutorial cases to work. Will give update as I make progress.

I will monitor that thread of you and Bruno

Thanks for the reply
PicklER 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
Error installing OpenFOAM 2.2.0 on CentOS 6.4 CGMaioli OpenFOAM Installation 34 February 24, 2014 14:06
CyclicAMI Issue In OpenFOAM 2.2.0 prasant OpenFOAM Running, Solving & CFD 17 March 16, 2013 02:00
forceCoeffs (OpenFOAM 2.2.0) gave another values of Cd in comparison results2.2.1 ! lavrov OpenFOAM Post-Processing 0 March 15, 2013 09:12
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 04:43.