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

Initial atmospheric flow field

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2020, 16:31
Default Initial atmospheric flow field
  #1
Member
 
Alexandre M S Costa
Join Date: Apr 2009
Posts: 31
Rep Power: 17
amscosta is on a distinguished road
Hi All,
I want to patch an initial flow field for a given 2D mesh.
The field is given by the expression in the attached image.
K = 10^5 m^2/s , x is in the [-1,1] km interval, y is in the [-1,1] km interval.
The flow is not defined for sqrt(x) < 0.1 km and sqrt(y) < 0.1 km.
Any piece of advice of how to setup that is very welcome.
Thanks,
Alex
Attached Images
File Type: jpg Image2.jpg (4.2 KB, 2 views)
amscosta is offline   Reply With Quote

Old   February 27, 2020, 04:30
Default CFF and Registers
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Though you can use UDF for this but that will be an overkill if you have to do it only for one or two cases. So, solution would be to use Custom Field Functions and Registers.

The equations can be defined as CFFs. Then you mark cells using region or iso-values to create various registers. Then do the patching in the registers using CFF. Do note that to use iso-value for creating registers, you need to initialize the case. You can initialize with any values. Registers are nothing but subsets of mesh that are marked based on certain criterion specified by the user. Do it using Adapt but do not click on Adapt. Click on Mark.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
initial velocity field


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
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 14:38
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 07:37
SLTS+rhoPisoFoam: what is rDeltaT??? nileshjrane OpenFOAM Running, Solving & CFD 4 February 25, 2013 05:13
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50


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