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

funkysetfields language

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2019, 15:27
Default funkysetfields language
  #1
Member
 
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7
saj216 is on a distinguished road
Hi guys,

I'm struggling to understand the syntax used in funkysetfields to accurately define different initial shapes of bubbles.

I am aware of the link https://openfoamwiki.net/index.php/C...funkySetFields and the presentations associated in it.

However I was wondering if someone could provide some guidance (links preferably) so that I can understand the syntax better (I'm sort of a beginner).

For example, the following synthax is for a spherically shape (pow(pos().x-0,2) + pow(pos().y-0,2) < pow((0.1E-3),2))

However, what would be the synthax for a quarter bubble with a wall below it.

Thanks for your help
saj216 is offline   Reply With Quote

Reply

Tags
funkysetfields, funkysetfieldsdict


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
[swak4Foam] groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM Community Contributions 169 August 10, 2023 10:01
[swak4Foam] how to use funkySetFields function in muliregion case bryant_k OpenFOAM Community Contributions 15 October 15, 2021 03:50
[swak4Foam] funkySetFields and funkySetBoundaryFields zxj160 OpenFOAM Community Contributions 19 February 14, 2018 20:07
Software Language for Coding CFD vsookrah Main CFD Forum 5 September 15, 2013 20:34
programming language for CFD, C, C++, FORTRAN,.... hadian Main CFD Forum 15 September 9, 2008 23:19


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