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

Time and direction varying liftDir in a forceCoeffs file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 9, 2012, 08:32
Default Time and direction varying liftDir in a forceCoeffs file
  #1
Member
 
Join Date: Aug 2012
Posts: 74
Rep Power: 4
HakikiCanakkaleli is on a distinguished road
Hi,

I kindly want to ask whether I can add a .csv data file for the liftDir object in the forceCoeffs file or not?

Code:
liftDir      (0 0 1);
To be more precise, I would like to write something (instead of (0 0 1) as can be seen above) that connects a .csv data file which includes different directions of lift coefficient for different time steps with the lift coefficient direction specified in the forceCoeffs.

Apologizes if there are some other pages relevant to this issue; however, I couldn't find any.

Many thanks in advance.
HakikiCanakkaleli is offline   Reply With Quote

Old   October 9, 2012, 15:34
Default
  #2
Senior Member
 
Kevin Smith
Join Date: Mar 2009
Posts: 103
Rep Power: 8
kev4573 is on a distinguished road
I'm not aware of any built in functionality to accomplish this directly.

One possible solution would be to interface with your csv file using a runtime compiled code snippet, which could make this vector a function of time.

The simpliest solution would probably be to just write out the force components at every time step and post process them to recompute the coefficient based on your changing lift direction.
kev4573 is offline   Reply With Quote

Old   October 20, 2012, 12:01
Default
  #3
Member
 
Join Date: Aug 2012
Posts: 74
Rep Power: 4
HakikiCanakkaleli is on a distinguished road
Thanks very much.
HakikiCanakkaleli is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary condition varying in space and time jasouza1974 OpenFOAM 0 January 17, 2012 10:06
Using a boundary profile file with unsteady, spatially varying data jonnythewlis FLUENT 0 December 8, 2009 16:49
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59
Overflow problem in steady simulation ReeKo CFX 11 October 8, 2008 17:57
time varying inlet velocity Zhe Liu CFX 0 July 31, 2008 06:56


All times are GMT -4. The time now is 10:45.