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

How can i assign a set of data (table or matrix) as an input for source term?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2015, 07:07
Default How can i assign a set of data (table or matrix) as an input for source term?
  #1
New Member
 
Join Date: Mar 2015
Posts: 3
Rep Power: 11
reza.s is on a distinguished road
Hi
I am simulating a channel flow in cfx and i need to add source term to continuity equation.in order to add mass source term i need to set its temperature.instead of assigning a constant temperature value for whole domain, i want to use a set of temperature values (like a temerature matrix) over my domain. my question is:

is it possible in cfx to assign a set of data as an input instead of a fix value or an expression? How can i do it?

I am new to cfx so please help me.
thanks in advance.
reza.s is offline   Reply With Quote

Old   March 2, 2015, 09:48
Default
  #2
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 21
singer1812 is on a distinguished road
Look up tables or functions. These are pretty easy to use, and you can even import a file with the values you want to use.

If you have further questions after reading up, please ask.
singer1812 is offline   Reply With Quote

Old   March 2, 2015, 10:59
Default
  #3
New Member
 
Join Date: Mar 2015
Posts: 3
Rep Power: 11
reza.s is on a distinguished road
thanks singer1812 for taking your time and answering my question. I did as you said and looked up cfx document under user functions. as you said ,I can create a set of data including coordinates and quantity of interest and cfx will use interpolation to calculate values on nodes.

you said i can import file containing values i want, is it possible to use results of another cfx simulation (in the same geometry ) to generate such a file that can be used as input like you said?

thanks again.
reza.s is offline   Reply With Quote

Old   March 2, 2015, 12:12
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
If the results you require from a previous simulation can be associated to a post-processing locator such as a boundary, surface group, etc, you can use the export functionality in CFD-Post.

Select the BC export profile, customize it for the type of export you require and the .csv file written can be then imported into CFX-Pre.

You may need to read the CEL syntax details on how to hook up such .csv file.
Opaque is offline   Reply With Quote

Old   March 2, 2015, 19:25
Default
  #5
New Member
 
Join Date: Mar 2015
Posts: 3
Rep Power: 11
reza.s is on a distinguished road
thanks opaque for your reply.
what i want is not boundary condition. to add mass source term, I need to specify temperature for this added mass as an input. I want to use temperature field from a previous simulation as temperature required in mass source term tab in cfx .
Is it possible to this in cfx using the export functionality in CFD-Post that you mentioned?
thanks a lot.
reza.s is offline   Reply With Quote

Old   March 2, 2015, 21:31
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,869
Rep Power: 33
Opaque will become famous soon enough
It will export as you need. However, the file may be large and I am not sure about the performance of the software dealing with it.

I would try it in a coarse mesh first, and see if it work as you desire, and then go for the final mesh.
Opaque is offline   Reply With Quote

Reply

Tags
cfx, input value, source term


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
Set a Source/Sink Term into a approriate cell QuocHung_Phan FLUENT 0 November 24, 2012 09:05
lid-driven cavity in matlab using BiCGStab Don456 Main CFD Forum 1 January 19, 2012 16:00
mykEpsilon - How to set a min/max constraint for a term with units elektra79 OpenFOAM 3 October 12, 2010 19:12
Plasma Flow Modelling using Source term and cell's data Constantine Fluent UDF and Scheme Programming 2 May 19, 2010 22:06
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45


All times are GMT -4. The time now is 18:40.