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

[blockMesh] Parametric Multigrading

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   August 26, 2016, 12:56
Default Parametric Multigrading
  #1
New Member
 
Mauricio Aguilar
Join Date: Jul 2016
Posts: 15
Rep Power: 9
MauricioAguilar is on a distinguished road
Hello foamers,

I'm using an extra file (parameters) to source all my variables into blockMeshDict and topoSetDict so I can easily adjust my geometry.

I have just finished including the multigrading section in BlockMeshDict and I'm getting supper weird results when including variables from "parameters"...if I define all multigrading parameters this way I even get a seg-fault. Using some hardcoded values allows blockMesh to solve but it does so with weird values.


Is there something similar to Printf with which I can print my variables after they were parsed?
I'm looking for a way to debug my code.

I have included my blockMeshDict and parameters file in case anyone wants to give it a try.
In blockMeshDict lines [42-47] i've hardcoded the values that should come from the calculated parameters established in parameters lines [117-123]. I've commented out the solution I would like to employ.
blockMeshDict.txt

parameters.txt

Any help is greatly appreciated.

kind regards,

Mauricio
MauricioAguilar is offline   Reply With Quote

 

Tags
blockmesh, debug, multigrading, parameterization, printf


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
Parametric study by Ansys Workbench Sahar FaPerhu ANSYS 17 August 23, 2017 03:29
Problem with Parametric Study Picopico CFX 1 March 7, 2017 17:56
[ICEM] Parametric O-grid and Parametric Split Henry Arrigo ANSYS Meshing & Geometry 3 October 20, 2014 05:32
parametric study with design modeler and icepak aminem ANSYS 3 May 21, 2014 05:11
Comsol (4.3): convert parametric surface into block? sgalaz COMSOL 0 November 9, 2012 09:20


All times are GMT -4. The time now is 20:24.