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

Adapt the motorBike case to a cube

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gardener96

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2024, 03:45
Default Adapt the motorBike case to a cube
  #1
New Member
 
Join Date: Dec 2023
Posts: 3
Rep Power: 2
gardener96 is on a distinguished road
Hello,
As an academic exercise, I am trying to simulation the flow around a 10mx10mx10m cube. As I am new to openfoam, I have taken the motorBike tutorial case and replaced the geometry and multiplied the dimensions of the box and refinement box in blockMesh and snappyHexMesh by a factor of 20 to ensure that the cube is indeed in the boxes.
When i run the case as it is, and visualise on Paraview, I only see the cube, not the boxes. I have checked that all relevant mesh regions are checked.



I have then tried with a much smaller cube of 1mx1mx1m, and it works then. I am intrigued as I have checked that the 10m cube fits inside the boxes by overimposing the two simulations on Paraview.



I'm sorry for the lack of details, but I have really made minimal changes to the motorBike case file, and am completely lost as to why this will not work for the larger cube.



Thank you in advance!
gardener96 is offline   Reply With Quote

Old   April 17, 2024, 04:32
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,070
Rep Power: 26
Yann will become famous soon enough
Hello,

You probably want to have a look at the locationInMesh parameter.

Cheers,
Yann
Yann is offline   Reply With Quote

Old   April 17, 2024, 05:54
Smile
  #3
New Member
 
Join Date: Dec 2023
Posts: 3
Rep Power: 2
gardener96 is on a distinguished road
Hi Yann,
I was not aware of that parameter, but indeed changing it to a coordinate outside the cube solved the issue! Thank you very much!



Tamara
Yann likes this.
gardener96 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
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 15:13
Motorbike tutorial case error Gaso OpenFOAM Running, Solving & CFD 0 April 5, 2016 09:36
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
[snappyHexMesh] snappyHexMesh on sharp corners (cube) Regis_ OpenFOAM Meshing & Mesh Conversion 0 June 4, 2015 23:47
motorBike tutorial case needed btgyd OpenFOAM Running, Solving & CFD 1 November 8, 2010 15:12


All times are GMT -4. The time now is 00:29.