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

funkySetFields complex boundary

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 28, 2009, 09:44
Default funkySetFields complex boundary
  #1
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 7
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
As by means of funkySetFields to initialize complex boundary conditions. For example totalPressure in a file 0/p. If it is necessary to set variables inside:
type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
Also we shall admit a field p0 will be nonuniform.
Svensson is offline   Reply With Quote

Old   January 4, 2010, 05:51
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Svensson View Post
As by means of funkySetFields to initialize complex boundary conditions. For example totalPressure in a file 0/p. If it is necessary to set variables inside:
type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;
Also we shall admit a field p0 will be nonuniform.
I don't understand the question.

Bernhard
gschaider is offline   Reply With Quote

Old   January 10, 2010, 15:10
Default
  #3
New Member
 
Alexander
Join Date: Dec 2009
Location: Saint-Petersburg
Posts: 29
Rep Power: 7
Svensson is on a distinguished road
Send a message via Skype™ to Svensson
I want to ask if it is possible to intialize difficult boundary conditions with funkySetFields. F.e. totalPressure for the file 0/p. Smth like that:

type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

I mean i want to have not usual, normal, easy (yep, my English s.cks so sry) but.. erm.. difficult (?) variable. not only totalPressure but all that it has inside, f.e. p0.
Hope u could understand anything from the text above. thx.
Svensson is offline   Reply With Quote

Old   January 11, 2010, 05:48
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Svensson View Post
I want to ask if it is possible to intialize difficult boundary conditions with funkySetFields. F.e. totalPressure for the file 0/p. Smth like that:

type totalPressure;
p0 nonuniform List<scalar>
2
(
1
2
);
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value uniform 0;

I mean i want to have not usual, normal, easy (yep, my English s.cks so sry) but.. erm.. difficult (?) variable. not only totalPressure but all that it has inside, f.e. p0.
Hope u could understand anything from the text above. thx.
OK. I think now I get it. You want to set something else than value to a non-uniform value using keepPatches/valuePatches. I'm sorry. This is currently not possible (even worse: I think that currently applying FSF to that field would remove the entries it doesn't know about (rho etc))

If you think that this is a feature missing from FSF, feel free to add a feature request at https://sourceforge.net/apps/mantisb...e_status_id=90 and I will consider it

Bernhard
gschaider is offline   Reply With Quote

Reply

Tags
funkysetfields

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
Wind turbine simulation Saturn CFX 34 October 16, 2014 05:27
inlet velocity boundary condition murali CFX 5 August 3, 2012 08:56
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
CFX doesn't continue calculation... mactech001 CFX 6 November 15, 2009 22:25
mass flow in is not equal to mass flow out saii CFX 2 September 18, 2009 08:07


All times are GMT -4. The time now is 09:08.