CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Manipulating strings using If/Do Loop in Journal File

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 28, 2023, 00:40
Default Manipulating strings using If/Do Loop in Journal File
  #1
New Member
 
veda
Join Date: Jul 2022
Posts: 8
Rep Power: 4
saha.vedabit is on a distinguished road
I am trying to write a journal file that can change shadow walls to interior, by the following logic:

if (Wall_name contains the term "shadow")
change Wall to Interior

Is it possible in Scheme to run an If or Do loop based on string name?

Thank you
saha.vedabit is offline   Reply With Quote

Reply

Tags
command, fluent, journal, scheme, tui


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
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 04:50
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 02:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


All times are GMT -4. The time now is 12:06.