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

A problem about blockMeshDict

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2023, 08:40
Smile A problem about blockMeshDict
  #1
New Member
 
Join Date: Jul 2022
Posts: 18
Rep Power: 3
applekiller is on a distinguished road
Hello, Foamers!

I have a problem about the function "project" in blockMeshDict file.
This blockMeshDict file is in a case about NACA0012(you can find it easily).

The code is

Code:
project ($aerofoil.xLower -0.1 $domain.zMin) (cylinder)  // 0       (0.3 -0.1 -2)

    project ($aerofoil.xLead  -0.1 $aerofoil.zLead) (aerofoil) // 4		(0  -0.1 0)
    project ($aerofoil.xTrail -0.1 $aerofoil.zTrail) (aerofoil)// 5		(1  -0.1 0)
My problem is following:

Is the function 'project' a mapping?

What the relationship between the points "($aerofoil.xLower -0.1 $domain.zMin)" and cylinder(cylinder is a geometry)?

How does the 'project' function work?

I welcome any answer, and I believe the more discussed the question, the clearer it becomes.
applekiller is offline   Reply With Quote

Old   October 27, 2023, 09:47
Default
  #2
Member
 
Lorenzo
Join Date: Apr 2020
Location: Italy
Posts: 39
Rep Power: 6
Lorenzo210 is on a distinguished road
Hi,


I think "project" is projecting or mapping the vertex onto the surface indicated (cylinder or aerofoil), which has been loaded before.


It should be referring to the source file you can find in the following link:
https://www.openfoam.com/documentati...8H_source.html


Other useful files are located in:
FOAM_SRC/mesh/blockMesh


Regards,
Lorenzo
Lorenzo210 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
BuoyantBoussinesqSimpleFoam_Facing problem Mondal131211 OpenFOAM Running, Solving & CFD 1 April 10, 2019 19:41
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


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